Clicking on a single item of a list box that has been placed on a Folder dialog, causes the dialog to blank. Here is my code:
- Code: Select all Expand view
REDEFINE LISTBOX ::oLbxNewGroup VAR nNew ID 1 OF oDlg ITEMS ::aNewGroups ;
UPDATE ON DBLCLICK EVAL( bRemove ) WHEN ::lEdit
REDEFINE LISTBOX ::oLbxActualGroup VAR nAct ID 2 OF oDlg ITEMS ::aActualGroups ;
UPDATE ON DBLCLICK EVAL( bAdd ) WHEN ::lEdit
Here is a screenshot of the dialog before clicking on a single item:
Here is a screen shot after clicking on the 2nd line of the listbox on the left ("Transcription"):
Here is the rc for the dialog:
- Code: Select all Expand view
- QUERY_USERGROUPS DIALOG 20, 69, 350, 100
STYLE DS_SETFONT |WS_CHILD |WS_VISIBLE |WS_BORDER
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, 0
BEGIN
CONTROL "",0,"BUTTON",BS_GROUPBOX |WS_CHILD |WS_VISIBLE ,2,-2,343,100
CONTROL "",301,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,164,46,15,14
CONTROL "",302,"BUTTON",BS_PUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,164,62,15,14
CONTROL "Available Groups",5,"STATIC",SS_CENTER |WS_CHILD |WS_GROUP |WS_VISIBLE ,187,8,144,8
CONTROL "Allow Access To Users Who",6,"STATIC",SS_CENTER |WS_CHILD |WS_GROUP |WS_VISIBLE ,12,8,144,8
CONTROL "Belong To These Groups",7,"STATIC",SS_CENTER |WS_CHILD |WS_GROUP |WS_VISIBLE ,12,16,144,8
CONTROL "",2,"LISTBOX",LBS_NOTIFY |WS_CHILD |WS_BORDER |WS_VISIBLE ,185,26,148,69
CONTROL "",1,"LISTBOX",LBS_NOTIFY |WS_CHILD |WS_BORDER |WS_VISIBLE ,9,26,148,69
END
I'm using Fwh 1112 (Dic 2011). Help?
Reinaldo.