mIRC Home    About    Download    Register    News    Help

Print Thread
#273936 Yesterday at 11:44 AM
Joined: Jan 2021
Posts: 39
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Jan 2021
Posts: 39
I have made a dialog. I can't change if the cross button should be on left or right.
I have tried everything and I have no idea what I do wrong.

Example:
Code
dialog new_table {
  title "New Project"
  size -1 -1 251 161
  option dbu
  check "Check Box", 1, 8 15 50 10, left
}

left or right or no option, doesn't matter. Same cross button at same position.

Joined: Feb 2004
Posts: 2,014
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,014
Hi there, try this example

Code
dialog new_table {
  title "New Project"
  size -1 -1 251 161
  option dbu
  ; "text", id, x y w h, style  (left, push, 3state)
  check "Check Box", 1, 8 15 50 10
  check "Check Box", 2, 8 35 50 10, 3state
  check "Check Box", 3, 8 55 50 10, left
  check "Check Box", 4, 8 75 50 10, push
}

If you omit the style it will default the checkbox on the left and text on the right. Same with the 3state.


Link Copied to Clipboard