Jump to content

Dialog Help


nnvi

Recommended Posts

Hey

 

I'm trying to get this to work

 

Hope you understand what i'm trying to do...

 

Posted Image

 

dialog n {

title "New Project"

size -1 -1 250 133

option dbu

list 1, 0 0 61 133, size

tab "Tab 1", 2, 67 2 127 89

tab "Tab 2", 3

tab "Tab 3", 4

}

 

on *:dialog:n:init:0:{

mdx MarkDialog $dname

mdx SetControlMDX $dname 1 Treeview fullrowselect singleexpand nohscroll showsel > $views.mdx

did -i $dname 1 1 setitemheight 26

did -a $dname 1 $chr(160) 1

did -a $dname 1 $chr(160) 2

did -a $dname 1 $chr(160) 3

did -c $dname 1 2

}

 

on *:dialog:n:sclick:1:{

if ($did(1).seltext = 2) did -f n 3

}

Edited by nnvi
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...