joedevil Posted January 3, 2012 Posted January 3, 2012 Hi , i am wondering whether DCL can create a Table with adjustable column width, just like in the "Constraint Setting"-> "AutoConstraint" Tap. the 3 columns "priority" "constraint type" and "Apply" make up a table. if yes, is there any sample DCL code can refer to? Thanks in advance~ Quote
Lee Mac Posted January 3, 2012 Posted January 3, 2012 Not possible with standard DCL. The closest you could get would be to use a DCL list_box (example), but this has no column headings and fixed column widths. OpenDCL would offer this functionality. Quote
Guest kruuger Posted January 3, 2012 Posted January 3, 2012 Not possible with standard DCL. The closest you could get would be to use a DCL list_box (example), but this has no column headings and fixed column widths. OpenDCL would offer this functionality. this is sick idea but this can be achived i think. with image_button we can play with sort column. now... 1. instead 3 image_button we can use only one. 2. we can store info about column width (pixels) 3. when we click somewhere on image, column (image) will be redrawn to new width 4. then we need to recalculate tabs value (tabs = "0 20 40"). dcl needs to be create on the fly. i never try this before. what do you think guys ? kruuger Test.lsp Quote
Guest kruuger Posted January 3, 2012 Posted January 3, 2012 Very nice Kruuger! thanks Lee. i wish to make better coding for this. now it's a crap. Quote
joedevil Posted January 5, 2012 Author Posted January 5, 2012 hi Lee & Kruuger, thanks for the suggestion. think i will go for OpenDCL, the sTudio is more user friendly in creating the GUIs. Thanks~ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.