Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7307 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi All,

When using the message portion of show custom dialog, can i use TextStyleAdd

to bold some part of a message OR does that script step always use plain

text?? I can't seem to get this to work...

"Replace the existing purchase order number : " & TextStyleAdd ( Header::txt_POnumber; Bold) & " ?"

What am i doing wrong??

Thanks

Dan

Posted

You can not colorize or style text in Custom Dialog. If you want different text than plain, use a small window for your dialogs instead. That's what I do, as it allows graphics, highlighting backgrounds of fields or text, etc.

Posted

Thanks for the info...

that's what I was afraid of!

i guess i'll go the long way and build a layout!

I read somewhere on this forum that to have a window on top

i should not maximize the window?

Is there a way to keep that message layout on top & active

to force a user to do the required action?

thanks

Dan

Posted

... that to have a window on top i should not maximize the window?

Oh. You can maximize it all right. But it'll drop into window state as soon as you call another window so don't bother trying. If you do try, you'll find that your bottom window will not only un-maximize but that it will also then set itself to exactly the size of your new window. Best to place your full window in windows state (and size it) first. Use this new 'full' window for all regular views (just change layouts) and then call additional 'smaller' windows as needed. Windows will simply not allow a maximized and a non-maximized window to coexist.

Is there a way to keep that message layout on top & active to force a user to do the required action?

You can include at the end of your script which opens your window:

Loop

Pause [indefinitely]

End Loop

Any buttons you activate while within your window need to have PAUSE current script selected in Specify Button. This will keep the window in place and return these scripts to your window when they finish. You can then either perform your validation tests (or whatever) either via buttons in the window or simply attach a validation to your EXIT button on the window. Your Exit button's Specify Field should could then be changed to Halt current script (it could be a simple Close Window). This will terminate the Pause/Resume loop, close the window and release the User.

This topic is 7307 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.