From: Sandro R. R. F. <san...@ya...> - 2004-03-17 19:03:29
|
Hi Alexander Please test oVar:=0 @ xx,xx GET oVar PICTURE "@E 999,999,999.99" and @ xx,xx GET oVar PICTURE "999,999,999.99" Press 123,15 or 123.15 and Enter the result is 12.15 Regards ----------------------- Sandro Freire |
From: Alexander S.K. <al...@be...> - 2004-03-18 09:30:55
|
On 17.03.2004 21:58, Sandro R. R. Freire <san...@ya...> wrote: SRRF> Please test SRRF> oVar:=0 SRRF> @ xx,xx GET oVar PICTURE "@E 999,999,999.99" SRRF> and SRRF> @ xx,xx GET oVar PICTURE "999,999,999.99" SRRF> Press 123,15 or 123.15 and Enter the result is 12.15 Fixed. Regards, Alexander http://kresin.belgorod.su |
From: Rodrigo M. <rod...@te...> - 2004-03-18 12:39:22
|
Hi Alex, Did you implement same kind of help support, for example, when user press F1 and then call the help context based on some kind id ? If you don't, can i implement that ? I thinking in create an DATA helpid on hContol Class and handle WM_HELP Message and WinHelp C function to handle it. Regards Rodrigo |
From: Rodrigo M. <rod...@te...> - 2004-03-19 14:18:23
|
So, Any objections ? Regards Rodrigo -----Mensagem original----- De: hwg...@li... [mailto:hwg...@li...]Em nome de Rodrigo Moreno Enviada em: quinta-feira, 18 de marco de 2004 09:39 Para: hwg...@li... Assunto: [Hwgui-developers] Help Context Hi Alex, Did you implement same kind of help support, for example, when user press F1 and then call the help context based on some kind id ? If you don't, can i implement that ? I thinking in create an DATA helpid on hContol Class and handle WM_HELP Message and WinHelp C function to handle it. Regards Rodrigo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |
From: Alexander S.K. <al...@be...> - 2004-03-20 15:22:13
|
=F7=E5=F2=E2=E5=F0=E3, 18 =EC=E0=F0=F2=E0 2004 =E3. Rodrigo rodrigo.migue= l...@te... wrote: RM> Hi Alex, RM> Did you implement same kind of help support, for example, when user p= ress F1 RM> and then call the help context based on some kind id ? RM> If you don't, can i implement that ? Yes, feel free to do that. RM> I thinking in create an DATA helpid on hContol Class and handle WM_HE= LP RM> Message and WinHelp C function to handle it. Regards, Alexander http://kresin.belgorod.su |
From: Rodrigo M. <rod...@te...> - 2004-03-22 16:50:18
|
Hi all To implement this new feature, i need set the help file name, i want store this information on HWindow Class, this is to avoid to create a public var containing the file name. So, how to get the main window handler, wich will have this information ? I saw the gettopwindow, but in some cases the topwindow can't be main window. Parent window can help in this case ? This is part of my code: Hdialog.prg: ... { WM_ACTIVATE,{|o,w,l|DlgActivate(o,w,l)} }, ; { WM_HELP,{|o,w,l|DlgHelp(o,w,l)} } ... Function DlgHelp( oDlg,wParam,lParam ) Local oCtrl := oDlg:FindControl( wParam ) Local cFileName cFileName := 'Here is need to discover what is the file name set up in main window' if oCtrl:HelpId == GetHelpData ( lParam ) WinHelp ( GetModalHandle(), cFileName, 1 , 2 , oCtrl:helpid ) EndIf Return 0 Regards Rodrigo Moreno |
From: Alexander S.K. <al...@be...> - 2004-03-22 18:17:32
|
=EF=EE=ED=E5=E4=E5=EB=FC=ED=E8=EA, 22 =EC=E0=F0=F2=E0 2004 =E3. Rodrigo r= odr...@te... wrote: RM> Hi all RM> To implement this new feature, i need set the help file name, i want = store RM> this information on HWindow Class, this is to avoid to create a publi= c var RM> containing the file name. RM> So, how to get the main window handler, wich will have this informati= on ? I RM> saw the gettopwindow, but in some cases the topwindow can't be main w= indow. RM> Parent window can help in this case ? You can declare it as a CLASS VAR, so the will be the only copy of this variable: CLASS VAR szHelpName In this case it may be got as HWindow():szHelpName. Regards, Alexander http://kresin.belgorod.su |
From: Rodrigo M. <rod...@te...> - 2004-03-22 18:25:37
|
Thanks Alex and Marcos. -----Mensagem original----- De: hwg...@li... [mailto:hwg...@li...]Em nome de Alexander S.Kresin Enviada em: segunda-feira, 22 de marco de 2004 15:17 Para: hwg...@li... Assunto: [Hwgui-developers] Re: Help Context понедельник, 22 марта 2004 г. Rodrigo rod...@te... wrote: RM> Hi all RM> To implement this new feature, i need set the help file name, i want store RM> this information on HWindow Class, this is to avoid to create a public var RM> containing the file name. RM> So, how to get the main window handler, wich will have this information ? I RM> saw the gettopwindow, but in some cases the topwindow can't be main window. RM> Parent window can help in this case ? You can declare it as a CLASS VAR, so the will be the only copy of this variable: CLASS VAR szHelpName In this case it may be got as HWindow():szHelpName. Regards, Alexander http://kresin.belgorod.su ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |