Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CustomDialog & Styles

Featured Replies

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

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.

  • Author

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

... 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.

  • Author

thanks for the tips...

That's what I will do.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.