should be:
oColumn := oBrowse:GetColumn( n )
nCellWidth := oColumn:currentSize()[1] // width of the column n
Search found 49 matches
- Wed Apr 06, 2022 10:53 am
- Forum: eXpress++ Support
- Topic: using DCADDCELLITEM how can I know the width of the column in DCBROWSE
- Replies: 3
- Views: 2385
- Wed Mar 30, 2022 10:12 am
- Forum: eXpress++ Support
- Topic: method to repaint the contents of windows
- Replies: 5
- Views: 3117
Re: method to repaint the contents of windows
I modified the example using the merge of the GetList as suggested by Tom test1.zip I had to use the MULTILISTS clause otherwise the GetOptions didn't work well on all the sublevels in this example there are some problems that I can not fix, for example: - the ability to use the ESC key to close a s...
- Tue Mar 29, 2022 9:39 am
- Forum: eXpress++ Support
- Topic: method to repaint the contents of windows
- Replies: 5
- Views: 3117
Re: method to repaint the contents of windows
Tom i have to give you reason (as always) but unfortunately I still do not understand the philosophy of the Express library (and I'm inventing them thinking procedural and not GUI) I am always convinced that every new dialogue must have its own GetList and its own loop of events (dcread) but if I n...
- Tue Mar 29, 2022 4:13 am
- Forum: eXpress++ Support
- Topic: method to repaint the contents of windows
- Replies: 5
- Views: 3117
Re: method to repaint the contents of windows
is it possible to use something similar to GraSaveScreen() of parent window to save the previous state and restore it into :drawingarea when when changing the state of the window (from XBPDLG_FRAMESTAT_MINIMIZED to XBPDLG_FRAMESTAT_NORMALIZED) ?
- Tue Mar 29, 2022 12:57 am
- Forum: eXpress++ Support
- Topic: DCBROWSE DATALINK and dc_getrefresh() issue
- Replies: 0
- Views: 1961
DCBROWSE DATALINK and dc_getrefresh() issue
I need to use the keyboard to automatically position myself in the browse, validating the last field of the GET, like in this example: nLevelMenu:=1 @ x,y DCSAY "...." GET ... @ x,y DCSAY "...." GET ... @ x,y DCSAY "Code" GET mCode GETOBJECT omCode; VALID {|| IS_FOUND(mCode) } ; WHEN { || nLevelMenu...
- Thu Mar 24, 2022 8:44 am
- Forum: eXpress++ Support
- Topic: method to repaint the contents of windows
- Replies: 5
- Views: 3117
method to repaint the contents of windows
when I open 1 or 2 sublevels of DCREAD and try to minimize the screen and restore it, I can not refresh the contents completely repaint_error.jpg I attach an example to better explain what happens test1.zip is it possible to force a correct :configure() - :paint() or other instructions to redraw all...
- Wed Mar 16, 2022 1:12 pm
- Forum: eXpress++ Support
- Topic: Threads - GetList anomaly using VALID
- Replies: 4
- Views: 2802
Re: Threads - GetList anomaly using VALID
I changed the way I build the window: DCGETOPTIONS NOBUSY CONFIRM NOMINBUTTON NOMAXBUTTON NOTASKLIST NOESCAPEKEY ; ROWSPACE (FONT_ROWSPACE) SAYFONT (FONT_SAY) GETFONT (FONT_GET) ; MINSIZE aSize[1],aSize[2] MAXSIZE aSize[1],aSize[2] ; TITLE TITOLO_PRG ; BORDER XBPDLG_DLGBORDER ; CLOSEQUERY MSG {||.F....
- Thu Mar 10, 2022 11:11 am
- Forum: eXpress++ Support
- Topic: Threads - GetList anomaly using VALID
- Replies: 4
- Views: 2802
Re: Threads - GetList anomaly using VALID
testwin.zip I tried to isolate only the function that create windows above the main screen if you open 2 windows and try to activate the edit button on the first, you will see that you can not click on the second window because the VALID of the first wins. however, if you enter something on the fir...
- Thu Mar 10, 2022 3:09 am
- Forum: eXpress++ Support
- Topic: Threads - GetList anomaly using VALID
- Replies: 4
- Views: 2802
Threads - GetList anomaly using VALID
using a thread to open a new DCDialog window, I encounter a problem using GETs with the VALID clause valid_issue.jpg when I have 2 windows running, and I position myself on the GET field that contains a VALID, I can not continue on the other window if I click on the second window, the cursor returns...
- Thu Mar 03, 2022 4:53 am
- Forum: Getting started with eXpress++
- Topic: Parent / Owner / Modal / Modeless in GUI apps
- Replies: 0
- Views: 8941
Parent / Owner / Modal / Modeless in GUI apps
to be able to correctly create an application that follows the right screen modes and the right input behaviors by the user : applevels.jpg i have to understand well how to behave with the nesting of DCREAD, PARENT, OWNER, etc. is there a manual, document that explains well the dependencies between ...