Vertical and Horizontal Scroll Bar Processing
- don lowenstein
- Posts: 204
- Joined: Mon Oct 17, 2005 9:09 pm
- Been thanked: 3 times
- Contact:
Vertical and Horizontal Scroll Bar Processing
Is there a way with Fivewin to build a dialog with automatic vertical and horizontal scroll bar processing that moves the display area as scroll bars are clicked?
Don Lowenstein
www.laapc.com
www.laapc.com
- karinha
- Posts: 8057
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 10 times
- Contact:
Re: Vertical and Horizontal Scroll Bar Processing
Hello, maybe, C:\FWH..\SAMPLES\DON.PRG
Regards, saludos.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Antonio Linares
- Site Admin
- Posts: 42833
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 167 times
- Been thanked: 123 times
- Contact:
Re: Vertical and Horizontal Scroll Bar Processing
Dear Don,

Code: Select all | Expand
#include "FiveWin.ch"function Main() local oDlg, oScrollPanel DEFINE DIALOG oDlg SIZE 520, 520 COLOR "W/RB" ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( oScrollPanel := TScrollPanel():New( 20, 20, 500, 500, oDlg ),; oScrollPanel:SetColor( "W/B" ),; BuildPanel( oScrollPanel ), .T. )return nilfunction BuildPanel( oScrollPanel ) local cName := Space( 20 ), cSurName := Space( 20 ) @ 2, 2 GET cName OF oScrollPanel @ 5, 2 GET cSurName OF oScrollPanel oScrollPanel:SetRange()return nil
