Jump to content

Recommended Posts

Posted

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.

constrait_setting.JPG

if yes, is there any sample DCL code can refer to?

Thanks in advance~

Posted

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.

Guest kruuger
Posted
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.gif

Test.lsp

Guest kruuger
Posted
Very nice Kruuger!

thanks Lee.

i wish to make better coding for this. now it's a crap.

Posted

hi Lee & Kruuger, thanks for the suggestion.

think i will go for OpenDCL, the sTudio is more user friendly in creating the GUIs. Thanks~

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...