Ok, I'm going to share this so it's easy for others.
Verified in 6
1) Create a new button. I'll call mine "My Default Column Behavior". I put mine in the mainstack, but the substack the rest of the DataGrid could work too, if you're going to go further in customizing your DataGrid
2) Add the ...
Search found 7 matches
- Thu May 09, 2013 11:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Hiliting a cell in a datagrid [SOLVED]
- Replies: 3
- Views: 3837
- Thu May 09, 2013 4:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Hiliting a cell in a datagrid [SOLVED]
- Replies: 3
- Views: 3837
Re: Hiliting a cell in a datagrid
Trying:
put "Col 2" into theColumn
put the dgHilitedLine of grp "dgTest" into theLineNo
put theColumn & comma && theLineNo & cr after fld "debug"
dispatch "EditCell" to grp "dgTest" with "theColumn, theLineNo"
set the textStyle of the target to "bold"
in a button sets the text style of ...
put "Col 2" into theColumn
put the dgHilitedLine of grp "dgTest" into theLineNo
put theColumn & comma && theLineNo & cr after fld "debug"
dispatch "EditCell" to grp "dgTest" with "theColumn, theLineNo"
set the textStyle of the target to "bold"
in a button sets the text style of ...
- Wed May 08, 2013 9:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Hiliting a cell in a datagrid [SOLVED]
- Replies: 3
- Views: 3837
Hiliting a cell in a datagrid [SOLVED]
I have a Table style datagrid.
In my app I'm going through the datagrid and trying to update a database based on the contents of a cell in the table.
I'd like to hilte a cell in some way if the update fails. Something like make the text bold or set the background to red.
What would be the easiest ...
In my app I'm going through the datagrid and trying to update a database based on the contents of a cell in the table.
I'd like to hilte a cell in some way if the update fails. Something like make the text bold or set the background to red.
What would be the easiest ...
- Mon Feb 04, 2013 7:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Adding in a library
- Replies: 3
- Views: 2840
Re: Adding in a library
Just to be sure for myself, to use it in the development environment I have to open it and use a "start using" command to put it into the message path?
Is there a way to put it somewhere that it loads every time I start RunRev?
Adding it to the build makes sense.
Thanks.
Is there a way to put it somewhere that it loads every time I start RunRev?
Adding it to the build makes sense.
Thanks.
- Mon Feb 04, 2013 6:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Menu check mark or diamond on selection
- Replies: 2
- Views: 2549
Re: Menu check mark or diamond on selection
Thanks, I wasn't sure if it was a property or something else. The menus work a little differently.
- Fri Feb 01, 2013 9:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Menu check mark or diamond on selection
- Replies: 2
- Views: 2549
Menu check mark or diamond on selection
I'm trying to figure out the Menu Builder.
Most importantly, how do I set and clear the "Mark" when I use a menu item? I see it in the Menu Builder, but I can't figure out how do have it work.
I have the menu item hide and show some options when selected, but I would like the check to appear as ...
Most importantly, how do I set and clear the "Mark" when I use a menu item? I see it in the Menu Builder, but I can't figure out how do have it work.
I have the menu item hide and show some options when selected, but I would like the check to appear as ...
- Fri Feb 01, 2013 8:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Adding in a library
- Replies: 3
- Views: 2840
Adding in a library
I not sure of the correct terminology for this, but I downloaded an SHA-2 library as suggested here: http://forums.runrev.com/viewtopic.php?t=13403
I added it as a substack, but I really want to avoid having to do this every time I use it, especially so I don't get warnings about having multiple ...
I added it as a substack, but I really want to avoid having to do this every time I use it, especially so I don't get warnings about having multiple ...