Search found 48 matches

by glenn9
Fri May 29, 2020 1:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mobile scolling problem
Replies: 3
Views: 195

Re: Mobile scolling problem

Many thanks for the advice - have just tried it and it works with my implementation as described. I guess I just need to inform the user to give a longer tap for selecting a line item (and I also need to experiment a bit with the 'wait' message as well). In my inital searches for a solution I could ...
by glenn9
Fri May 29, 2020 11:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mobile scolling problem
Replies: 3
Views: 195

Mobile scolling problem

Hi everyone, I've started to dip my toe into mobile and although I've successfully got scrolling to work on mobile using the 'mobileControlCreate/Set' commands, the problem I'm having is that when scrolling on mobile, as soon as I touch the scrolling field , it immediately fires the handler that I'v...
by glenn9
Thu May 07, 2020 4:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling arrow key moving from one line to another in a field
Replies: 6
Views: 321

Re: Handling arrow key moving from one line to another in a field

Just a normal field - I hadn't appreciated the difference!

Glenn
by glenn9
Thu May 07, 2020 3:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling arrow key moving from one line to another in a field
Replies: 6
Views: 321

Re: Handling arrow key moving from one line to another in a field

Hi Klaus, Whoa... whilst I was making a coffee the solution suddenly came to me.... on arrowkey theKey if theKey is "down" then focus on field 2 end arrowkey This now enables me move up/down the lines of field 2 and I now just need to figure out how to handle the hilite but I think this should be st...
by glenn9
Thu May 07, 2020 3:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling arrow key moving from one line to another in a field
Replies: 6
Views: 321

Re: Handling arrow key moving from one line to another in a field

Thanks Klaus, Yes, its a field with a vertical scrollbar. When I'm typing in field 1 I'm getting results being listed in field 2 as I type as a result of the field 1 filter. To then select one of the result lines in field 2, I can just move the mouse and click on one of the lines of field 2, but for...
by glenn9
Thu May 07, 2020 2:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling arrow key moving from one line to another in a field
Replies: 6
Views: 321

Handling arrow key moving from one line to another in a field

Hi Everyone, I'm currently struggling with this problem: I'm successfully filtering the lines of Field 2 with the text of field 1, and when the results are displayed in field 2, I'm wanting the up/down arrow key ( whilst I am still in field 1) , to move up/down the displayed lines of field 2. I've g...
by glenn9
Wed Apr 29, 2020 12:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding a column to an existing SQLite database
Replies: 6
Views: 428

Re: Adding a column to an existing SQLite database

Hi Klaus,

Thank you so much, have now successfully added my first column!!

I think this will now help me to explore more of the SQLite commands, and how to use them within LC.

Thank you again,

Kind regards,

Glenn
by glenn9
Wed Apr 29, 2020 11:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding a column to an existing SQLite database
Replies: 6
Views: 428

Re: Adding a column to an existing SQLite database

Hi Klaus,

Many thanks for your help again.

Stack now attached!

I think my problem is that I'm unsure of where to place the code

Code: Select all

ALTER TABLE table
ADD COLUMN column_definition;
(and in the correct format) to get LC/SQLite to add the column!
by glenn9
Wed Apr 29, 2020 10:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding a column to an existing SQLite database
Replies: 6
Views: 428

Re: Adding a column to an existing SQLite database

Thanks Klaus, now understand the logic error in trying to ALTER whilst Creating a database. I guess having Created the database, where would the ALTER code need to be inserted to action the adding of a column? so far I've tried adding some data to the database (so it now 'exists'), and then, through...
by glenn9
Wed Apr 29, 2020 8:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding a column to an existing SQLite database
Replies: 6
Views: 428

Adding a column to an existing SQLite database

Hi everyone, I've been trying to learn how to use SQLite databases over the last few days and so far have managed to create a table and add some data, including via variables, but more by 'recipe' than complete understanding so far, but its working! However, I'm now struggling to add columns to an e...
by glenn9
Mon Apr 20, 2020 7:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using icons in Livecode
Replies: 16
Views: 1038

Re: using icons in Livecode

richmond62 wrote:
Sun Apr 19, 2020 12:06 pm
Screenshot 2020-04-19 at 14.05.03.png
Thanks for this advice Richmond62, have now abandoned the concept of using Segoe MDL2 fonts for icons!

Have just downloaded 'Pimp My Button' - not sure exactly what it does at the moment but I'll experiment...!

Thanks again,

Kind regards,

Glenn
by glenn9
Sat Apr 18, 2020 3:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using icons in Livecode
Replies: 16
Views: 1038

Re: using icons in Livecode

bogs wrote:
Fri Apr 17, 2020 10:23 am
richmond62 wrote:
Fri Apr 17, 2020 8:51 am
A word of warning . . .
. . . if you set the label of your button to a glyph reference be careful to use numToCodePoint and NOT numToChar (deprecated some way back),
Glenn, please forgive my ignorance hee hee :P
My ignorance is much greater though - as I'm finding out!!
by glenn9
Sat Apr 18, 2020 3:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using icons in Livecode
Replies: 16
Views: 1038

Re: using icons in Livecode

I'm glad it helped, I should add there are a few other ways to do this. For instance, set the buttons 'font' to (whatever), and (in code) set the label of button xyz to numToChar(number of the character). All roads lead to Rome after all ;) A word of warning . . . . . . if you set the label of your...
by glenn9
Thu Apr 16, 2020 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using icons in Livecode
Replies: 16
Views: 1038

Re: using icons in Livecode

Thank you so much, that worked brilliantly!

I hadn't appreciated that the character map worked outside of MS word or to use 'label' instead of 'content'!

Thank you again,

Kind regards,

Glenn
by glenn9
Thu Apr 16, 2020 10:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: using icons in Livecode
Replies: 16
Views: 1038

Re: using icons in Livecode

Thanks for the tip, I'll give this a try.

I'm assuming that its not going to be possible to use the font as an 'icon' but this may be a good workaround.

Kind regards,

Glenn

Go to advanced search