ex 1:
Code: Select all
if the label of "cboFreight" is empty Code: Select all
put the label of "cboFreight" into tValue
answer tValueThanks.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
if the label of "cboFreight" is empty Code: Select all
put the label of "cboFreight" into tValue
answer tValue
Code: Select all
if the label of button "cboFreight" is emptyThanks. I’ll give it a try. A combo as a button. Not exactly logical.FourthWorld wrote: ↑Thu Mar 05, 2020 1:37 amThe combobox is a subclass of button - add the object type to the reference and you should be good:Code: Select all
if the label of button "cboFreight" is empty

Code: Select all
if the label of "cboFreight" is empty If you ever wonder what an object's base is, you can always do something like this to find out... ... or just look at the titlebar of the property inspector... ...and all mystery should be resolvedJackieBlue1970 wrote: ↑Thu Mar 05, 2020 2:34 amThanks. I’ll give it a try. A combo as a button. Not exactly logical.

Nice trick. Still seems strange to me.