NVM I figured it out. I had in the past, to avoid having a see through menu 
button, set the showName of the button to false in a populateForm handler. 

Bob S


> On Jun 8, 2018, at 15:08 , Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Sorry  Iwas working on something else. 
> 
> I may not have explained it well. I have a Pulldown Menu with these options:
> 
> Device Installation
> Device Relocation
> Firmware Update
> Onsite Service
> Remote Service
> Software Installation
> Other...
> 
> When no datagrid record is selected, I set the label of this menu to empty, 
> because it is both a display object for the selected record in the datagrid, 
> as well as an input object when editing the data. 
> 
> Now the handler which "populates" the form will set the label to the value in 
> the datagrid record corresponding to it. But when the user clicks the New 
> button on the form, all the input objects/controls are initialized, and in 
> the past I simply set the label of this button to empty. But now instead of 
> leaving the object empty, I want to pre-populate it with the text, "Select 
> the service type..." as a visula clue for the user. 
> 
> When I set the label of the button to "Select the service type...", instead 
> of displaying that text, it displays nothing, but in the property inspector, 
> the label is actually set properly. Other menu buttons seem to work, and I 
> thought this worked in the past, but now it seems not to. 
> 
> I will throw a demo together later. I have to get a new employee and computer 
> set up in AD before Monday Morning and I am running out of time. Thanks 
> though for your interest and help. Best list ever! 
> 
> Bob S
> 
> 
>> On Jun 8, 2018, at 14:10 , Richard Gaskin via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> Bob Sneidar wrote:
>> 
>>> I have noticed that if you set the text of a menu button without
>>> setting the label, the label becomes the first line in the text.
>>> It may only do this on a Mac though.
>> 
>> If you haven't set the label, what exactly appears in that first line in the 
>> text?
>> 
>> If you find a step-by-step recipe I'd be happy to try it here.
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to