Search found 177 matches

by dglass
Wed May 04, 2011 10:04 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Long-term Planning UI Ideas
Replies: 0
Views: 533

Long-term Planning UI Ideas

Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along...
by dglass
Wed May 04, 2011 6:44 pm
Forum: Databases
Topic: SQLite question
Replies: 15
Views: 4837

Re: SQLite question

Can you post what you have in the CASE statement?
by dglass
Tue May 03, 2011 3:29 pm
Forum: Databases
Topic: SQLite question
Replies: 15
Views: 4837

Re: SQLite question

Can you post the entire SQL statement?
by dglass
Tue May 03, 2011 2:30 am
Forum: Databases
Topic: SQLite question
Replies: 15
Views: 4837

Re: SQLite question

Going to vary based on the DB engine you are using, some will have an explicit function for it. SQLite has a function 'last_insert_rowid()' which will return the last ROWID value inserted into the table. If your table has INTEGER keys you could do 'SELECT MAX(Table_Key) FROM Table', or 'SELECT stuff...
by dglass
Mon May 02, 2011 3:20 am
Forum: Databases
Topic: SQLite question
Replies: 15
Views: 4837

Re: SQLite question

Probably just need the variable name:

Code: Select all

"... banks.prop_type = " & property & "..."
Although 'property' strikes me as a dicey name for a variable; seems like it could be a reserved word (does LC have those?).
by dglass
Mon May 02, 2011 2:50 am
Forum: Feature Proposals
Topic: SQLite Encryption Extension
Replies: 3
Views: 2638

SQLite Encryption Extension

Would be very handy if RR licensed the Encryption Extension so we could use encrypted SQLite DBs within LC.

http://www.hwaci.com/sw/sqlite/see.html
by dglass
Mon May 02, 2011 1:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hello. New and can't find good baby steps
Replies: 61
Views: 15421

Re: Hello. New and can't find good baby steps

I believe that dglass makes a valid point up to an extent... Each and every one of the selectable properties that can be seen in the property dialogs are explained (with helpful examples) in the LiveCode dictionary. The info is not missing. A better idea I personally believe, is if the LiveCode tea...
by dglass
Sun May 01, 2011 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Hello. New and can't find good baby steps
Replies: 61
Views: 15421

Re: Hello. New and can't find good baby steps

Here's one that seems like it would be pretty painless to implement: Have the ToolTipText include not just the corollary to the chosen option, but also a short description.... Preferences -> General: Property Labels are: () Description of option, () Name of LiveCode property This setting changes bot...
by dglass
Sat Apr 30, 2011 8:28 am
Forum: Internet
Topic: open socket with message doesn't call the message
Replies: 2
Views: 1586

Re: open socket with message doesn't call the message

Yeah, sorry, I edited that code for brevity. All the variables are valid; strSocketConnection is built in the full 'onMouseUp'. I'm not sure what's different*, but it's working now without issue. I was getting ready to come back and post that, and got wrapped up in extending the functionality. :oops...
by dglass
Sat Apr 30, 2011 6:08 am
Forum: Internet
Topic: open socket with message doesn't call the message
Replies: 2
Views: 1586

open socket with message doesn't call the message

Given the following: on mouseup open socket to strSocketConnection with message "connected" end mouseUp on connected theHost --connected so login put fld "fldUsername" into strUsername put the userPassword of fld "fldPassword" into strPassword write "*LOGIN::" & strUsername & "::" & strPassword to s...
by dglass
Sat Apr 30, 2011 4:11 am
Forum: Internet
Topic: Socket Communication Confusion
Replies: 1
Views: 1107

Re: Socket Communication Confusion

Aaaannndddd, 20 seconds after posting, I figured it out.

I am Jack's complete lack of surprise.

This:

read from socket strSocketConnection with message "readSomething"

not this:

read from socket strSocketConnection for/until <whatever> with message "readSomething"
by dglass
Sat Apr 30, 2011 4:01 am
Forum: Internet
Topic: Socket Communication Confusion
Replies: 1
Views: 1107

Socket Communication Confusion

Greetings, I'm a bit confused about socket comms in LC, and am hoping somebody can clear it up for me. Given the following on mouseUp global strSocketConnection if label of button "Connect" is "Connect" then put strServerName & intLobbyPort into strSocketConnection open socket to strSocketConnection...

Go to advanced search