Search found 12 matches

by r_houdek
Mon Apr 28, 2014 11:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Option button
Replies: 6
Views: 4610

Re: Option button

Great advice.

Thank you both!
by r_houdek
Mon Apr 28, 2014 4:35 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Option button
Replies: 6
Views: 4610

Option button

I have an option button with dozens of options. How can I programmatically change the default option?

For example - the options include all states:

AL
AK
AR
AZ
CA
CO
CT


Based on some criteria I may want the default to be "CA" instead of "AL" - I can't seem to find the right syntax.

Thanks!
by r_houdek
Wed Apr 09, 2014 3:16 am
Forum: rTree
Topic: Help with handler
Replies: 1
Views: 7414

Help with handler

I'm trying to write a handler to process a right mouse click:
- Selects the tree node with a right click
- Opens a popup menu

Thanks for your help!

Ritch
by r_houdek
Tue Feb 28, 2012 4:44 am
Forum: Multimedia
Topic: Image coordinate system
Replies: 1
Views: 3415

Image coordinate system

I'm wondering if someone can help explain this issue I'm having: 1. Create an image and draw a series of rectangles - create image - choose rect tool - drag from 100,100 to 150,120 - etc... 2. Create a field and give it the same dimensions as the rectangle above - set the rect of field "f1" to 100,1...
by r_houdek
Mon Apr 18, 2011 4:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: 2 Data Grid questions
Replies: 2
Views: 2543

2 Data Grid questions

I have 2 questions about data grids. Any help would be appreciated! 1. Is it possible for a data grid table to word wrap? I'm building a bunch of tables and the column names are sometimes long. It would be great for the column headers to word wrap and grow taller automatically. Any ideas? 2. Is ther...
by r_houdek
Wed Mar 30, 2011 1:42 am
Forum: rTree
Topic: Disabling drag and drop
Replies: 2
Views: 8627

Re: Disabling drag and drop

Thanks so much. This works great!

Ritch
by r_houdek
Tue Mar 29, 2011 6:00 am
Forum: rTree
Topic: Disabling drag and drop
Replies: 2
Views: 8627

Disabling drag and drop

I'm wondering if there's a way to disable drag and drop for a tree. I find myself sometimes inadvertently dragging nodes and getting some unusual results (new nodes appear representing the C:\ directory when it's not a "filesystem" type tree). I'm hopeful there's a single property that can be set to...
by r_houdek
Sun Feb 27, 2011 6:13 pm
Forum: rTree
Topic: Possible fileIcon enhancement?
Replies: 2
Views: 8102

Re: Possible fileIcon enhancement?

Thanks for the reply. Yes, you captured the request exactly how I envisioned it.

Best,

Ritch
by r_houdek
Sat Feb 26, 2011 2:18 am
Forum: rTree
Topic: Possible fileIcon enhancement?
Replies: 2
Views: 8102

Possible fileIcon enhancement?

There are times when it is useful to have multiple icons representing leaf nodes in the same tree. I was thinking it would be really nice if you could set the fileIcon property at the tree level but have the ability to override it at the node level.

Thoughts?

Thanks,

Ritch
by r_houdek
Thu Feb 24, 2011 4:34 am
Forum: rTree
Topic: Locking node text?
Replies: 1
Views: 6772

Locking node text?

I'm wondering if there's a simple way to lock the node text. I've tried using the "locktext" property on the field but as soon as I double-click a node it reverts back to editable. Is there a property that can be set at the tree or node level? Or do I have to try an intercept the message and handle ...
by r_houdek
Thu Feb 24, 2011 3:08 am
Forum: rTree
Topic: sourcePath
Replies: 2
Views: 7836

Re: sourcePath

Thanks Mats! Your response answered my questions perfectly (although I'm embarrassed I missed the typo).

Ritch
by r_houdek
Wed Feb 23, 2011 1:39 am
Forum: rTree
Topic: sourcePath
Replies: 2
Views: 7836

sourcePath

I'm trying to use the simple sourcePath example: on nodeUp theButton theNodeID get the sourecPath_of_node_ID_[theNodeID] of me end nodeUp ...but keep getting an empty string back. A couple of questions: - Should this return a value or does it have to set? - Does this only work on treeType "filesyste...

Go to advanced search