Can I have Vertical Buttons instead of Horizontal in a Message Box

Hi,

What command will give me the USE value?
For instance my Buttons USE is: ?Button1

Prop:Text gives me the Text part.

Regards

Johan de Klerk

FIELD() will return the FEQ

I tried but can not figure it out.

If I have this code:
LOOP feq = FIRSTFIELD() TO LASTFIELD()
IF feq{Prop:Type} = Create:button ! Centre everything on the window
Message('Use Value of button = '&This is where i am stuck)
feq{Prop:Xpos} = (winW - feq{Prop:Width}) / 2
END
END

feq is USE value in this case.

Look at the prototype and usage for cla$fieldname on Mark Goldberg’s post. How to Alter the Icon of a COMBO drop control

Hi everyone,

Attached is what I have achieved with the message box.

It works great for me.
I have created it with 28 buttons in my apps so I have enough options available.

Thanks for everyone’s help.

I am sure it can be made more generic and much cleaner code but that is beyond my capability.
If anyone improves on it please post it back here.

TestOwnMessageBox.zip (503.9 KB)

Regards

Johan de Klerk

2 Likes

Got a screenshot of it in action? :selfie:

1 Like