Search found 22 matches

by glenn52
Wed Dec 17, 2014 1:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dynamically set dgColumnWidth
Replies: 3
Views: 3457

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 ...
by glenn52
Tue Dec 16, 2014 10:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dynamically set dgColumnWidth
Replies: 3
Views: 3457

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 ...
by glenn52
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: 3656

Re: Run a shell command: multiple instances of stack

Klaus, thanks, works
Still interested to know why this issue arises... :?
by glenn52
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: 3656

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...
by glenn52
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: 3656

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 ...
by glenn52
Sun Mar 31, 2013 11:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: setRegistry - DWORD
Replies: 11
Views: 8205

Re: setRegistry - DWORD

got it: put "2" into tValue
get setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", binaryEncode("I",tValue), "dword") works here.
Simon

Thanks Simon, worked here too, now I know where my shoes are... :wink:

Thanks to everyone!

glenn52
by glenn52
Sun Mar 31, 2013 9:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: setRegistry - DWORD
Replies: 11
Views: 8205

Re: setRegistry - DWORD

Simon wrote:

Code: Select all

put "2" into tValue
setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", tValue, "dword")
Does that work?
No. That generates the Livecode "can't find handler" error. :wink:
by glenn52
Sun Mar 31, 2013 9:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: setRegistry - DWORD
Replies: 11
Views: 8205

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.
:wink:
by glenn52
Sun Mar 31, 2013 8:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: setRegistry - DWORD
Replies: 11
Views: 8205

Re: setRegistry - DWORD

Simon wrote:ooops?
get... err don't need that.
setRegistry kinda sounds like English.
Simon
:? errr.. what?
by glenn52
Sun Mar 31, 2013 6:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: setRegistry - DWORD
Replies: 11
Views: 8205

setRegistry - DWORD

Using this code I make the change to the Registry, however the value generates "invalid DWORD" error
put "2" into tValue
get setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden", tValue, "dword") Anyone help getting "tValue" in the right format?
by glenn52
Sat Jun 30, 2012 2:05 am
Forum: Windows
Topic: Windows Mobile 6.5 ?
Replies: 1
Views: 4170

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 ...
by glenn52
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: 5006

Re: How can I check values for a table column?

Klaus wrote:Hi Glen
Don't you just hate it when someone can't get your name right... :wink:
by glenn52
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: 5006

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 :wink:
by glenn52
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: 5006

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 ...
by glenn52
Sun Jun 05, 2011 1:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Database - Field properties - Refresh fields
Replies: 4
Views: 4180

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 ...