Re: Button is disabled when compiled - Mac only

2019-12-19 Thread Vincent de Lachaux via 4D_Tech
Pat,

Beware of the deprecated command _o_DISABLE BUTTON who work with a variable 
name so all buttons of the process linked with this variable were disabled.

You should prefer OBJECT SET ENABLE(*;"buttonName";false) who disable only the 
button nammed "buttonName"

Vincent de Lachaux



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Button is disabled when compiled - Mac only

2019-12-19 Thread Chip Scheide via 4D_Tech
assuming it is not an issue with the version of 4D...

disable itself:
- some other object/button/variable with the same name is disabled
- it is underneath some other object (like a group frame), and is not 
really disabled but is covered up. This would be the 'Z' (layer) of the 
form.
- there is a property for buttons (and other action objects) which is 
titled 'initially disabled', I may be thinking of initially invisible 
though...

off the top of my head...

Chip
On Wed, 18 Dec 2019 22:44:21 +, Pat Bensky via 4D_Tech wrote:
> Using v17r6
> 
> I have a small button on a data entry form. Click it and a popup menu lets
> you chose from a couple of options.
> When the app is compiled, this button is always disabled - on a Mac. On
> Windows it is enabled.
> There is no code that disables it.
> There is no Standard Action selected for it.
> The only Event selected is On Clicked
> 
> What could cause a button to disable itself? Only when running compiled on
> a Mac.
> 
> Pat
> 
> -- 
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
We have done so much, with so little, for so long;
We are now qualified to anything with nothing 
  - unknown
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Button is disabled when compiled - Mac only

2019-12-18 Thread Pat Bensky via 4D_Tech
Using v17r6

I have a small button on a data entry form. Click it and a popup menu lets
you chose from a couple of options.
When the app is compiled, this button is always disabled - on a Mac. On
Windows it is enabled.
There is no code that disables it.
There is no Standard Action selected for it.
The only Event selected is On Clicked

What could cause a button to disable itself? Only when running compiled on
a Mac.

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**