- Code: Select all Expand view
#include "fivewin.ch"
static odlg, oFld
Function main()
SET RESOURCES TO "tool.dll"
DEFINE FONT oFonSay NAME "FixedSys" SIZE 10,10
DEFINE DIALOG oDlg From 00,00 to 400,500 TITLE "MyTools" PIXEL OF oDlg COLORS CLR_WHITE,CLR_WHITE
ACTIVATE DIALOG oDlg CENTERED ON INIT toolbar()
return(Nil)
Function toolbar()
oFld := cFolder():New(odlg:ntop,odlg:nleft,50,odlg:nright+4)
Return
CLASS cFolder
DATA aDialogs
METHOD New(nTop,nLeft,nWidth,nHeight) CONSTRUCTOR
ENDCLASS
METHOD New(nTop,nLeft,nWidth,nHeight) CLASS cFolder
public novo
novo:=TDialog():New(nTop,nLeft,nWidth,nHeight,,,,.F.,NOR(268435456,4194304,1073741824,2097152),,,,oDlg,.T.,,,,,)
novo:Activate(novo:bLClicked,novo:bMoved,novo:bPainted,.F.,, .F. ,,novo:bRClicked,{||.T.},)
Return(self)
1: i wanna that second dialog no move and important that stay inside
of dialog first.
2 - no show border
3 - no show scrollbar
Files to Download
http://rapidshare.com/files/148914390/dialog.rar.html