I don’t knpw if this helps..

I have used in an ooDialog program


::method InitDialog

 self~myHelpAbout


::Method myHelpAbout

 self~connectMenuItem(IDM_HELP,Help)
 self~ConnectHelp(help)                      -- connect to F1 (Windows Help)
 self~ConnectMenuItem(IDM_ABOUT,About)
  
::method help
NL   = '0d'x
text =       "help test line1||NL||NL
text = text||"help test line4"||nl||NL
call infodialog(text)
return



/************************************************************/
/* About menuitem                                           */
/*                                                          */
/************************************************************/
::method About
NL   = '0d'x
text = "About line 1|NL||NL
text = text||"about line 4"||NL
call infodialog(text)
return






Från: amphitr...@ok.de
Skickat: ‎fredag‎ den ‎3‎ ‎oktober‎ ‎2014 ‎19‎:‎52
Till: Open Object Rexx Users





Who may help?
I show in my application a Help button, alas it is not functional. 
I assume I did everything as described in the documentation but it 
does not act as described. Is it broken?

Followin you find the method to display the About window. I tried 
several dialog handles with no success. In the main window F1 
shows a help text and I'd like to show the same text by pressing 
Help in the About window.

> ::method whatsabout unguarded  /* whatsitallabout: the about window */
>
> dh = self~getControlHandle(666)   -- this is the "canvas", rm click only here
> -- dh = self~dlgHandle
> say 'Dialog handle:' dh
>
> exit MessageDialog('"HelpTest" is a test of the About dialog Help button.' 
> .endOfLine,
>                    "I'd like it shows the help file as F1 does in main 
> window.", dh,,
>                    "About HelpTest", , , 'HELP TOPMOST')
> /* missing: make this darned HELP button act */

In addition, I found the documentation is in one point not too 
correct: ooDialog Reference 4.2.3, Jan. 2014, p. 1549, 2nd phrase 
states 'If the message box does not have a Cancel button, then the 
user can not close the message box by using the ESC key.' This 
holds true for pb keywords ABORTRETRYIGNORE and YESNO, OK or 
omission of the pb argument enables ESC to close the message box, 
but returns IDOK in place of IDCANCEL.

Ciao.....Mike

BTW, I boiled down the problem from my over 3000 lines program to 
an example of about 150 lines, may I publish that in this list or 
may I send it someone off-list?
--------------------------------------------
Kostenlose E-Mail-Adresse mit unbegrenztem Speicherplatz f�r E-Mails, Free SMS 
und OK-Drive, der Online-Festplatte.
Sicher Dir jetzt Deine Wunschadresse @ OK.de: www.ok.de
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to