New FWPPC build with Progress Bars support

New FWPPC build with Progress Bars support

Postby Antonio Linares » Mon Jan 30, 2006 11:58 am

There is a new FWPPC build with standard Win32 Progress Bars support that you may already download. Here it is how it looks like:

Image

And this is the code in samples\TestProg.prg:
Code: Select all  Expand view
#include "FWCE.ch"

function Main()

   local oWnd, oPgr

   DEFINE WINDOW oWnd TITLE "Progress Bars"

   @ 2, 8 SAY "FiveWin for Pocket PC" OF oWnd SIZE 150, 20

   @ 4, 6 PROGRESS oPgr POS 5 OF oWnd SIZE 150, 15

   @ 5, 6 BUTTON "-" OF oWnd SIZE 20, 20 ;
      ACTION oPgr:nPosition--

   @ 5, 28 BUTTON "+" OF oWnd SIZE 20, 20 ;
      ACTION oPgr:nPosition++

   ACTIVATE WINDOW oWnd ;
      ON CLICK MsgInfo( "click!" )

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41307
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 2 guests