I want the user insert a get after another on the dialog pressing a button on buttonbar of the main window
I made a test sample
- Code: Select all Expand view
#INCLUDE "Fivewin.ch"
Function main()
Local oWnd
DEFINE WINDOW oWnd FROM 3, 6 TO 20, 70 ;
TITLE FWVERSION + " test sample " ;
MENU BuildMenu() MDI
DEFINE BUTTONBAR oBar SIZE 24, 27 OF oWnd 2007
DEFINE BUTTON OF oBar ;
TOOLTIP "New" NOBORDER RESOURCE "New"
//action nuovoget(oDlg)
activate Window oWnd on INIT StartTest()
return nil
function StartTest()
local oDlg
local nPos := 1
local cName := Space( 30 )
DEFINE DIALOG oDlg TITLE "A DialogBox" FROM 10, 10 TO 23, 70
@ 1,2 get cname size 40,20 // first get
ACTIVATE DIALOG oDlg NOWAIT
return nil
function BuildMenu()
local oMenu
MENU oMenu
MENUITEM "&File"
ENDMENU
return oMenu
I want Konw how insert a get after the first get and then another , and then another
Have you an Idea ?