Popup Title not displaying... (OpenInsight 32-Bit)
At 16 JUN 2008 03:35:26PM Paul wrote:
I found the following statement in release 8.0 article:
Popups now support multiple-line popup titles. When the popup title contains pipe characters "|", a text box appears above the popups' edittable and the text is displayed there, left justified. Popup printing has been modified accordingly.
Well; it's not working that way for me… We are on 8.03 and when I create a popup with multiple PIPES in it; it seems to be displaying the text box for the number of lines passed on pipes… but it's blank? It comes up empty and the Title Caption contains the text before first pipe…
Any ideas on why this is happening?
Also, does the source code for popup exist?
Thanks
Paul
At 16 JUN 2008 04:08PM Sean FitzSimons wrote:
Paul,
Is this being done programmatically or through the UI Workspace? If programmatically what is the data that is being passed to the TITLE parameter of the Popup structure?
I ask because I cannot duplicate the behavior you are reporting. I run a Popup with pipe characters in the TITLE and receive the expected results.
The source code for popup is not published.
Thank you,
Sean
At 16 JUN 2008 04:14PM Paul wrote:
Here some example code I tested with…
display = "Testing 1":@svm:"two":@svm:"three":@svm:"four":@svm:"12525":@svm:"14555":@svm:"61888":@svm:"eight":@svm:"Nine"
display=Testing 2":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
display=Testing 3":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
display=Testing 4":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
display=Testing 5":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
display=Testing 6":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
display=Testing 7":@svm:"two":@svm:"three":@svm:"four":@svm:"5477":@svm:"16888":@svm:"1247":@svm:"eight":@svm:"Nine"
convert @fm to @vm in display
format = 1:@svm:10:@svm:"C":@svm:"C":@svm:"":@svm:"Col1"
format =2:@svm:16:@svm:"L":@svm:"C":@svm:"":@svm:"Col2"
format =3:@svm:16:@svm:"L":@svm:"C":@svm:"":@svm:"Col3"
format =4:@svm:6:@svm:"C":@svm:"C":@svm:"":@svm:"Col4"
format =5:@svm:10:@svm:"R":@svm:"C":@svm:"MD2,":@svm:"Col5"
format =6:@svm:10:@svm:"R":@svm:"C":@svm:"D4/":@svm:"Col6"
format =7:@svm:8:@svm:"R":@svm:"C":@svm:"MTH":@svm:"Col7"
format =8:@svm:10:@svm:"C":@svm:"C":@svm:"":@svm:"Col8"
format =9:@svm:10:@svm:"C":@svm:"C":@svm:"":@svm:"Col9"
Convert @fm To @vm In format
pop_def="
pop_def=1
pop_def=1
pop_def=0
pop_def=1
pop_def=1
pop_def=10
pop_def=20
pop_def=0
pop_def=40
pop_def=L'
pop_def=P'
pop_def='
pop_def=format
pop_def= display
pop_def =This is a test title | testing pipes line 2 || testing pipes line 4 | testing pipes line 2"
retval=popup(@window,pop_def)
At 16 JUN 2008 05:58PM Sean FitzSimons wrote:
Paul,
I ran your code and saw the title.
Do you have old Popup source that you are recompiling?
Sean
At 16 JUN 2008 06:05PM Paul wrote:
Sean,
The only popup code I found was POPUP_SUB and NO we have not re-compiled it… not sure what else to try… seems like the functionality is there… cause it adds the spacing at the top of the form for the lines… but no text is displayed… Also, when I edit the POPUP form I don't see the textbox that gets used there… does it get created on the fly?
Paul
At 17 JUN 2008 08:42AM Sean FitzSimons wrote:
Paul,
It seems you have an old Popup OIWIN. The Popup OIWIN is no longer published, just the OIWINEXE. If you saved and compiled the OIWIN you then have an outdated OIWINEXE.
Send me an email ([email protected]) and I will you send you an RDK with the a clean Popup OIWINEXE.
Once you have the RDK then delete the existing Popup OIWIN in SYSPROG and install the RDK.
Sean