selecting with combo boxes

Started by andrew.nao1, August 17, 2012, 07:55:58 AM

Previous topic - Next topic

andrew.nao1

hi gang, its been a while and my other login info i cant access because the email i used no longer exists so i had to make another login.


anyway i need a bit of a refresher course.
I have a combo box that show a list of my printers
what function do i use to set a variable to the printer i select?

here is a snippet of code but i think i have the last line of this snippet wrong


(setq printers_list (reverse (dos_printers)))
(dcl_Control_SetList dwgbrowser_Form3_ComboBox1 printers_list)
(SETQ SET_PRINTER (dcl_ComboBox_GetCurSel dwgbrowser_Form3_ComboBox1))


thanks

Fred Tomke

Hi, I would have a try with GetLBText.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]