-
Tom Mangano
- PowerBuilder
- Monday, 10 August 2026 08:48 PM UTC
PB2022 R3 build 3452
I added a new main window, w_main_tab to our applicaton
users can select the current style or the tab Window style
The clicked! event of m_main.m... has 1 line of code depending on the Window type (floating, sheet with parm, sheet)
of_window_open_sheet( ref w_windowX )
this is the programming on m_main.of_window_open_sheet (the programming is similar for the w other types of Windows)
string ls_errorString
SetPointer( HourGlass! )
of_setmicrohelp( 'Working...' )
if isValid( w_main )=True then
OpenSheet( aw_window, w_main, 0, original! )
else
OpenSheet( aw_window, w_main_tab, 0, original! )
end if
of_setmicrohelp( 'Ready' )
Return
All 3 of the menu functions work as expected
When i put the exact same programming application functions, the Window value is NULL and fails to open
No matter how I've declared the function, the value of the Window object is null in both cases
application.of_window_open_sheet( ref aw_window )
application.of_window_open_sheet( aw_window )
thanks for any help
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.