FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FWPPC build with dialogboxes from source code creation!
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWPPC build with dialogboxes from source code creation!
Posted: Fri Feb 24, 2006 01:18 AM
There is a new FWPPC build with dialogboxes from source code creation support (without using resources). You may already download it. Please review samples\TestDlg.prg sample. Warning: FWCE.ch has changed.
#include "FWCE.ch"

function Main()

   local oDlg, cText := "Hello world!   "

   DEFINE DIALOG oDlg TITLE "Source code Dialog" ;
      SIZE 200, 100
   
   @ 0.7, 2 SAY "Name:" SIZE 18, 10
   
   @ 1, 4 GET cText SIZE 50, 10
   
   @ 1.8, 6 BUTTON "End" ACTION oDlg:End() SIZE 30, 10

   ACTIVATE DIALOG oDlg CENTERED ;
      ON CLICK MsgInfo( "click!" ) ;
      VALID MsgYesNo( "want to end ?" )
   
return nil

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: New FWPPC build with dialogboxes from source code creati
Posted: Fri Feb 24, 2006 07:49 AM

Great!

EMG

Continue the discussion