- Arthur Foux
- PowerBuilder
- Friday, 11 October 2019 10:28 PM UTC
I am attempting to display a custom title for a window with tabs. I can get the info when the record is retrieved
//// Get the name of the Company and display it in the window title bar
//string theconame
lw_frame = w_thecompany
////theconame = dw_co1.getitemstring(1, "comp_name")
//lw_frame.Title = " Data Entry Screen for: " + theconame
1. //w_thecompany.tab_1.tabpage_1.dw_co1.Title = " Data Entry Screen for: " + theconame
2. //w_ thecompany.tab_1.tabpage_1.dw_co1.Title = ("Data Entry Screen for:") + string(theconame)
3. //w_ thecompany.tab_1.tabpage_1.dw_co1.Triggerevent ("pfc_pagesetup")
None of the above worked
Number 3 was an attempt to execute on the window. I kept getting this error.
MessageBox ("let see5", string(theconame)) this message box showed the name of he company.
Thank You for your 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.