hi I have a button on my portal and I want to hide it when my fields on my portal are empty and when Get (windowMode) = 1 but when I use & between my function I see my button!
how can I fix this issue?
I often use Case( ) for multiple hide conditions. Easy to read and very effective. Returns 1 for any exp, otherwise default is 0.
Get (windowMode) = 1; 1;
your IsEmpty exp; 1;
aliabbassipro wrote: when I use & between my function
when I use & between my function
'&' is the text concatenation operator; you want
Get ( WindowMode ) = 1 and IsEmpty ( Table::field )
hi, sir, I do it but is still incorrect
if you want an object to hide when get(windowmode) = 1 and another field is empty, then this means that both conditions must be correct in order for it to hide.
Get(windowmode) =1 is Find mode.
Question #1. Are the hide conditions set to Apply in Find mode? Because if it is not, then when you're in find mode, the object will still appear.
Question #2. Are you sure it should be "both" conditions should be met? In Find mode, it would normally be an empty field until you enter search criteria... perhaps you are looking for and "or" condition here?
First, check the object on the layout to Apply in Find mode.
Secondly, check your logic against the data viewer to see if the values you really want match what you're wanting to achieve.
( Get ( WindowMode ) =1 ) OR IsEmpty ( table::field )
if you have more than one field and want to hide if all fields are empty:
( Get ( WindowMode ) =1 ) OR
( IsEmpty ( table::field ) AND IsEmpty ( table::field2 ) )
Get(WindowMode) = 1 means you're in find mode.
ALL your fields will be empty in that mode.
I don't understand the problem.
I have been trying to hide a button when the button state is Hover. Any ideas?
Hide? How does one click a BUTTON that runs away as you go to it?
The states are in the Inspector, if you want to change any styles. But not a "hide" unless you cleverly change all to blend with any background.
Sent from miPhone
Now that brings back memories of when I was a Mac User in the days before the web existed. Many a bulletin board's list of files had a file with an enticing name such as "naked girls" or something. If you were sucker enough to download it, you were presented with an apparently standard "bomb box" dialog that had a button to reboot your machine, but if you tried to click it, the button either disappeared or jumped to a different location.
The sustem hadn't actually crashed, you just had to quit the program, but it caused many an embarrassing conversation with a tech called in to fix the problem.
I remember the bomb box, but not the naked girls :-)
Almost as fun as taking a screen snap shot of the desktop then putting it as a desktop background picture.
Ah, the bomb box... those where the fun days of Apple. The "glory days".
I want when my name field on my portal is empty that button is hidden also in find mode.
I do it thank you, sir, <3
Retrieving data ...