Combobox
Posted: Fri Jan 08, 2010 11:02 am
Porque este exemplo abajo as opçoes do combobox não aparecem, não consigo usar combobox no fivepocket.
#include "fwce.ch"
#include "dll.ch"
#define MB_ICONINFORMATION 0x40
static aBTypes:= {'Repce','Akác','Hárs','Gesztenye','Napraforgó','Selyemkóró','Facélia','Vegyes virág','Mézharmat','Egyéb'}
function Main()
// Main Window
LOCAL oBmp
Local oHONEYTYPES, cHONEYTYPES
Local oHONEYTYPES_DD, cHONEYTYPES_DD
Local oBEEKEEPER , cBEEKEEPER
cBeeKeeper:="Click to me after set second combo"
public oWnd
DEFINE WINDOW oWnd TITLE "RFID_OMME"
ACTIVATE WINDOW oWnd ON INIT TESTE()
return nil
static function teste()
Local oHONEYTYPES, cHONEYTYPES
Local oHONEYTYPES_DD, cHONEYTYPES_DD
Local oBEEKEEPER , cBEEKEEPER
Local oDlg
DEFINE DIALOG oDlg RESOURCE "COMBOS"
REDEFINE COMBOBOX OHONEYTYPES VAR CHONEYTYPES ITEMS aBTypes ID 4001 OF ODLG
ACTIVATE DIALOG oDlg CENTERED
return nil
#include "fwce.ch"
#include "dll.ch"
#define MB_ICONINFORMATION 0x40
static aBTypes:= {'Repce','Akác','Hárs','Gesztenye','Napraforgó','Selyemkóró','Facélia','Vegyes virág','Mézharmat','Egyéb'}
function Main()
// Main Window
LOCAL oBmp
Local oHONEYTYPES, cHONEYTYPES
Local oHONEYTYPES_DD, cHONEYTYPES_DD
Local oBEEKEEPER , cBEEKEEPER
cBeeKeeper:="Click to me after set second combo"
public oWnd
DEFINE WINDOW oWnd TITLE "RFID_OMME"
ACTIVATE WINDOW oWnd ON INIT TESTE()
return nil
static function teste()
Local oHONEYTYPES, cHONEYTYPES
Local oHONEYTYPES_DD, cHONEYTYPES_DD
Local oBEEKEEPER , cBEEKEEPER
Local oDlg
DEFINE DIALOG oDlg RESOURCE "COMBOS"
REDEFINE COMBOBOX OHONEYTYPES VAR CHONEYTYPES ITEMS aBTypes ID 4001 OF ODLG
ACTIVATE DIALOG oDlg CENTERED
return nil