Search found 992 matches
- Wed Jul 29, 2009 5:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Formatting a currency amount in a data grid
- Replies: 6
- Views: 5293
Once you customize a column it is up to you to set alignment, etc. You can get the current setting of the column alignment using the dgColumnAlignment property. I believe the following should work in the FillInData handler. set the textalign of field 1 of me to the dgColumnAlignment[the dgColumn of ...
- Wed Jul 29, 2009 3:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Formatting a currency amount in a data grid
- Replies: 6
- Views: 5293
With data grids there is no need to format your raw data before assigning it to the data grid. A data grid allows you to customize how the data is displayed at the time it is displayed without affecting the underlying data stored in the data grid. Take a look at the lesson " How Do I Customize A Tab...
- Wed Jul 22, 2009 8:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid property names
- Replies: 4
- Views: 4115
- Mon Jul 20, 2009 1:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: List vs Table Field
- Replies: 7
- Views: 5634
Creating a data grid table that mimics a Revolution field with tabstops set is pretty straightforward and doesn't require any additional work. Take a look at this lesson. How Do I Create My First Data Grid Table? When it comes to customizing data grid tables and forms it is more complicated than bas...
- Mon Jul 13, 2009 2:18 pm
- Forum: Talking LiveCode
- Topic: Who Called Function?
- Replies: 4
- Views: 2783
- Thu Jun 18, 2009 11:07 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Externals and file paths
- Replies: 5
- Views: 3218
Here is a lesson that shows how to install an external so that it loads in the IDE and can be included when building a standalone.
Installing An External
Installing An External
- Thu Jun 11, 2009 11:53 am
- Forum: Databases
- Topic: SQLite - Selecting multiple columns
- Replies: 3
- Views: 3986
When using a variable with "send" the engine treats this: send "DBsearch" && SQLquery to stack "TCS" differently than this: send "DBsearch SQLquery" to stack "TCS" In the later the variable is treated as a single parameter to the function DBsearch. If you want your send statements to always behave h...
- Thu Jun 04, 2009 7:40 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: newbie datagrid question: field editing
- Replies: 6
- Views: 4477
- Thu Jun 04, 2009 6:42 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: newbie datagrid question: field editing
- Replies: 6
- Views: 4477
Yeah, that looks right. Note that if you are using the default column behavior then the data grid will save the contents (because the column behavior passes all three params to EditFieldText) of pFieldEditor again unless you pass "cancel". If you pass cancel though you have to make sure the data gri...
- Thu Jun 04, 2009 5:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: newbie datagrid question: field editing
- Replies: 6
- Views: 4477
I've just added some new lessons to the docs that begin to discuss field editing. I've also added the relevant API calls to the docs. This lesson will describe the calls you can use and links to the API docs which provide the details of each. How Do I Open a Table Cell For Editing? As for you partic...
- Thu Jun 04, 2009 3:36 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: DataGrid:Control in Row Template:Messages
- Replies: 3
- Views: 2648
- Wed Jun 03, 2009 2:50 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: DataGrid:Control in Row Template:Messages
- Replies: 3
- Views: 2648
All controls in a row template will receive their normal engine messages so a mouseUp script in a checkbox should work, assuming nothing else is getting in the way. Is there any change there is a nother control in front of the checkbox? When you click on the checkbox does the hilite state of it chan...
- Tue May 26, 2009 4:01 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid refresh
- Replies: 3
- Views: 3132
- Tue May 26, 2009 2:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid refresh
- Replies: 3
- Views: 3132
The thread you reference has solutions you can use. If you are refreshing the data grid from a row behavior then you must use send in time. If, however, you are processing all engine events in the data grid script then you don't have to worry since the data grid won't be deleted. I've updated the le...
- Tue May 19, 2009 1:50 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Delete a row in a data grid?
- Replies: 9
- Views: 8073
Try one of two things: a) Use send in time to delete the index so that the data grid doesn't try to delete the button that is calling "DeleteIndex". send "DeleteIndex theIndex" to the dgControl of me in 0 seconds b) Put the mouseUp in the data grid control and check if the target is the button that ...