Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to use an if statement that will automatically maximize an object based of a field. If(1=1, maximize).
Any thoughts?
Thanks,
You can maximize an object using a Macro (e.g. VBScript) or an Action (if you are on ver. 9.00). Macros are pretty bad for performance. Actions, on the other side, don't have IF conditions.
If you can reach the same effect by showing and hiding the object, then your job is much simpler - you can use a variable in the "Show Condition".
The object will be visible to all users. However, certain users I want the object to be maximized. You think an action would have this desired effect?
I have found a similar solution for a problem.
Maybe this can help you.
You can check which user is announced and then a Macro or a condition explain.
TextBetween
(OSuser(),'\','') = 'testman'
Only problem is macro's can't run on ajax.
I would use Oleg's suggestion of showing and hiding objects. Create a clone of your object. Maximize the clone. Put in an IF statement for it, and the opposite IF statement for the normal-sized object.
HELLO ALL,
Can u provide Macro codes for maximizing and minimising the object..........
Regards,
R.Bharat Kishore