Search found 22 matches
- Wed Dec 17, 2014 1:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Dynamically set dgColumnWidth
- Replies: 3
- Views: 2911
Re: Dynamically set dgColumnWidth
I had considered looping through each column header to ascertain length. I also considered a similar process for cell data since typically this is wider than the header. This all seemed awkward and was wondering if there was something a little more elegant. The column widths reset, and there is no o...
- Tue Dec 16, 2014 10:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Dynamically set dgColumnWidth
- Replies: 3
- Views: 2911
Dynamically set dgColumnWidth
I have a data grid on a tab control The data grid is filled from a delimited text file This file can contain different data (rows) and different column names How can I dynamically adjust column widths to suit variable column name widths ALSO How can I lock column widths set using the column separato...
- Wed Jan 22, 2014 1:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Run a shell command: multiple instances of stack
- Replies: 3
- Views: 3077
Re: Run a shell command: multiple instances of stack
Klaus, thanks, works
Still interested to know why this issue arises...
Still interested to know why this issue arises...

- Tue Jan 21, 2014 10:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Run a shell command: multiple instances of stack
- Replies: 3
- Views: 3077
Re: Run a shell command: multiple instances of stack
Thanks Klaus, and yes prevent the 2nd instance from launching
I'll try your solution today
Thanks again
If you/anyone knows why this issue arises in I'd be interested to know...
I'll try your solution today
Thanks again
If you/anyone knows why this issue arises in I'd be interested to know...
- Tue Jan 21, 2014 6:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Run a shell command: multiple instances of stack
- Replies: 3
- Views: 3077
Run a shell command: multiple instances of stack
I use a button to run a windows script get shell (commandline) etc I have tested the command line in Win cmd & *.bat file and it works flawlessly I run the script (hit button) in the editor and it works flawlessly As a standalone, I hit button and a second instance of my standalone app runs in front...
- Sun Mar 31, 2013 11:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: setRegistry - DWORD
- Replies: 11
- Views: 6816
Re: setRegistry - DWORD
Thanks Simon, worked here too, now I know where my shoes are...Simon wrote:got it:works here.Code: Select all
put "2" into tValue get setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", binaryEncode("I",tValue), "dword")
Simon

Thanks to everyone!
glenn52
- Sun Mar 31, 2013 9:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: setRegistry - DWORD
- Replies: 11
- Views: 6816
Re: setRegistry - DWORD
No. That generates the Livecode "can't find handler" error.Simon wrote:Does that work?Code: Select all
put "2" into tValue setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", tValue, "dword")

- Sun Mar 31, 2013 9:07 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: setRegistry - DWORD
- Replies: 11
- Views: 6816
Re: setRegistry - DWORD
Without the get, the set generates a Livecode "can't find handler" error.
With the get, I get a change in the registry value, however it is reported as invalid.

With the get, I get a change in the registry value, however it is reported as invalid.

- Sun Mar 31, 2013 8:51 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: setRegistry - DWORD
- Replies: 11
- Views: 6816
Re: setRegistry - DWORD
Simon wrote:ooops?
get... err don't need that.
setRegistry kinda sounds like English.
Simon

- Sun Mar 31, 2013 6:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: setRegistry - DWORD
- Replies: 11
- Views: 6816
setRegistry - DWORD
Using this code I make the change to the Registry, however the value generates "invalid DWORD" error
Anyone help getting "tValue" in the right format?
Code: Select all
put "2" into tValue
get setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", tValue, "dword")
- Sat Jun 30, 2012 2:05 am
- Forum: Windows
- Topic: Windows Mobile 6.5 ?
- Replies: 1
- Views: 3630
Windows Mobile 6.5 - get refunded!
Mobile Deployment : Win 6.5 was a " pre-release " version sold with a substantial price tag. :x It would appear there is very little hope of this plug-in being further developed. :shock: I asked support: When will Mobile Deployment : Win 6.5 be full release? Reply: I'm afraid I do not know the answe...
- Sat Apr 28, 2012 12:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I check values for a table column?
- Replies: 6
- Views: 4194
Re: How can I check values for a table column?
Don't you just hate it when someone can't get your name right...Klaus wrote:Hi Glen

- Sat Apr 28, 2012 12:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I check values for a table column?
- Replies: 6
- Views: 4194
Re: How can I check values for a table column?
Thanks Claus!
The repeat is what I had implemented but wondered about an alternative.
I'll stick with repeat at this time.
Thanks again
The repeat is what I had implemented but wondered about an alternative.
I'll stick with repeat at this time.
Thanks again

- Sat Apr 28, 2012 5:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I check values for a table column?
- Replies: 6
- Views: 4194
How can I check values for a table column?
:cry: I have a simple table filled from a text file. It comprises a number of columns. I need to check & see if all values in a column are equal to n How can I determine if item 2 of line 1 to tNumberOfLines of field "myTable" = n ? I can Repeat through each line to check the values but was wonderin...
- Sun Jun 05, 2011 1:19 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Database - Field properties - Refresh fields
- Replies: 4
- Views: 3504
Re: Database - Field properties - Refresh fields
Mark: You go to a different card and back to see the updated field, yet the field is not updated?! Correct. How do you link (properties) to queries and columns? Create a database query and set the Database properties of the field. See link below. What triggers the update of the database? UPDATE quer...