New FWPPC build with dialogboxes from source code creation!

New FWPPC build with dialogboxes from source code creation!

Postby Antonio Linares » Fri Feb 24, 2006 1: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.
Code: Select all  Expand view  RUN
#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

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain



Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 5 guests