REDEFINE FOLDER oFld ID 100 OF oDlg UPDATE ;
PROMPTS "&Background ", "&Circle ", "&Body ", " &Size / Position ", "Base / &Text-Settings ", " &Text-Select ", "&Buttons ", "&Devider " ;
DIALOGS "Painter", "Circle", "TBody", "Background", "Base", "TText", "TButtons", "Devider" FONT oFoldFont // ;
* ON CHANGE( SetFolder( oWnd, oFld, nOption, nOldOption ) )
FOLDER_1(oDlg,oFld) // Background
FOLDER_2(oDlg,oFld) // Circle
FOLDER_3(oDlg,oFld) // Body
FOLDER_4(oDlg,oFld) // Position
FOLDER_5(oDlg,oFld) // Base & Text
FOLDER_6(oDlg,oFld) // Text
FOLDER_7(oDlg,oFld) // Buttons
FOLDER_8(oDlg,oFld) // Devider
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT ( LOAD_DATA(), NEW_ARRAY(), ;
SetImages(oDlg,oFld), ;
GradBrush( oDlg, { { 0.50, 14853684, 16314573 }, ;
{ 0.50, 16314573, 14853684 } }, .T. ), PAINT_BAR( oFld ) ) ;
ON PAINT SetFoldGrad( oFld )
RETURN NIL
// ------ Buttonbar in Folderpage 5 ----------------------------
FUNCTION PAINT_BAR( oFld )
LOCAL oBar
DEFINE BUTTONBAR oBar SIZE 33, 33 _3D OF oFld:aDialogs[5]
DEFINE BUTTON OF oBar FILE c_path + "\System\select.bmp" ;
ACTION MsgAlert ( "Test" )
DEFINE BUTTON OF oBar FILE c_path + "\System\exit.bmp" ;
ACTION MsgAlert ( "Test" )
RETURN NIL