Silverfrost Forums

Welcome to our forums

Using %th or %bh

12 Oct 2019 4:29 #24510

I'm curious; do these two commands only affect the current window? By extension, does that mean if one is using %sh for a subsequent %ps or %ch, the %th or %bh needs to be included when building the %sh window?

Also, I have combed my code for any %th or %bh, and none are used. Yet, on buttons within a %sh/%ps, the help text appears at the bottom of the window. I am struggling to understand what the requirements are.

Thanks, Bill

12 Oct 2019 8:59 (Edited: 12 Oct 2019 9:07) #24512

Bill, I add %th to each tab of spreadsheet %sh otherwise bubble help does not appear where the mouse currently is, appearing instead at the bottom of the window and reminding that %th was forgotten to be placed for this tab. May be if Silverfrost added small text with warning to add %th if it appears at the bottom of screen - this would be ideal solution. Making Clearwin self-explanatory will definitely help using it.

If this requirement of multiple %th is justified or better to allow %th only ones per function i have no opinion. Being bitten in the past forgetting %th i immediately know what i need to do when see bubble at the bottom

12 Oct 2019 10:01 #24514

Thanks for the responses. It helps!

12 Oct 2019 10:38 #24515

Thinking more i'd suggest Silverfrost to add warning or better even error if bubble help was requested but %th was forgotten for specific tab of the spreadsheet

13 Oct 2019 1:25 #24516

My solution is to have two common routines that set up a child sheet and a main window. In each of those routines, the appropriate help WINIO statements are made. Working great for the 30-40 windows/sheets that get created!

13 Oct 2019 6:47 #24527

Another thread that would be better in the ClearWin+ area?

Please login to reply.