Search found 311 matches

by Da_Elf
Tue Dec 22, 2020 1:49 pm
Forum: Databases
Topic: create MySQL Function with button
Replies: 5
Views: 54763

Re: create MySQL Function with button

thanks was hoping i could do the entire database setup from within the program created with livecode. instead im resorting to running a saved SQL when im setting up.
by Da_Elf
Sat Dec 12, 2020 12:16 am
Forum: Databases
Topic: create MySQL Function with button
Replies: 5
Views: 54763

create MySQL Function with button

trying to setup my database with a click of a button including adding a function to mysql but nothing seems to happen
I tried this with two types of executes but neither worked.
I would also like to be able to add procedures and triggers to the database automatically as well. Im guessing they would ...
by Da_Elf
Sun Jan 13, 2019 1:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sql Database
Replies: 14
Views: 19754

Re: Sql Database

I've been a fan of local mySQL databases. Not sure how android works but my program on a microsoft surface links to the database on my PC as long as ive got the PCs IP address typed in and I'm on the same network.

I tried once to load up MySQL on my website which uses hostmonster as its hosting ...
by Da_Elf
Thu Sep 20, 2018 10:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing problems
Replies: 5
Views: 6648

Re: Printing problems

great minds think alike. yes they were and i turned it off to the same result. When the codes were done larger they printed fine. its when i redesigned them smaller to fit on a 3x10 sticker sheet that i got the problems.
I started to think what if its when my card is resized during printing since ...
by Da_Elf
Thu Sep 20, 2018 9:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing problems
Replies: 5
Views: 6648

Re: Printing problems

That was sooo much help. this is weird. this is the code im using with your new suggestion.


put the short name of this stack into stackit
--export snapshot from this card to file "File1.png" as PNG

export snapshot from this card to image "standby" as png with standard palette
set the layer ...
by Da_Elf
Thu Sep 20, 2018 6:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing problems
Replies: 5
Views: 6648

Printing problems

Im printing the content on a card which is a barcode made up of 95 two pixel wide rectangles. When i print them they show up as skinny lines and not 2 pixels wide. When i export a png it all looks fine. So i figure i should calculate the barcode with my generator. then copy the png data to clipboard ...
by Da_Elf
Fri Apr 13, 2018 5:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: location of clickline
Replies: 7
Views: 8409

Re: location of clickline

only worked with fields that can be hilited. shame. but it gave me some ideas
by Da_Elf
Fri Apr 13, 2018 4:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: location of clickline
Replies: 7
Views: 8409

location of clickline

I wish i could figure this out. trying to get the screen location of a clicked line on a field. Using a simple mouseLoc isnt reliable. i want the exact position of the line.
by Da_Elf
Mon Jan 08, 2018 1:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom answer boxes
Replies: 9
Views: 13603

Re: custom answer boxes

using modal was what i needed so it would block everything else while waiting for a reply.
seeing as i was creating one of those pesky warning boxes that say Ok or Cancel i wanted a check mark too to allow my to say "Dont show this warning again". This allows me to perfectly send back an ok or ...
by Da_Elf
Sun Jan 07, 2018 10:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom answer boxes
Replies: 9
Views: 13603

Re: custom answer boxes

Holy crap thats so awesome. This would be exactly what i need and this opens so many more possibilities. wow. thanks.
by Da_Elf
Sun Jan 07, 2018 8:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: custom answer boxes
Replies: 9
Views: 13603

custom answer boxes

Im not sure if you can customise the ones that are built in or if i would have to code my own answer pop up. I know i can design it to be a warning with an OK and Cancel but it would also be nice to have a checkbox that says "Don't show this warning again". I assume im going to have to create my own ...
by Da_Elf
Tue Jan 02, 2018 2:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SOLVED on FocusIn not working
Replies: 12
Views: 13489

Re: SOLVED on FocusIn not working

whoohoo. it works. They had something about erasing changes to the field so i didnt think it was what i needed.
by Da_Elf
Mon Jan 01, 2018 12:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SOLVED on FocusIn not working
Replies: 12
Views: 13489

Re: SOLVED on FocusIn not working

using on openField worked but now i want something to happen when i close field but its not working
the field is focusable and text not locked

i want that when you click on the field you have the option of typing with a keyboard or using my own on screen keyboard which can be accessed by a little ...
by Da_Elf
Sat Dec 30, 2017 12:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SOLVED on FocusIn not working
Replies: 12
Views: 13489

Re: on FocusIn not working

So many handlers so little time. found it. i was looking at mouse in the dictionary. i found what i needed under field
On openField works
by Da_Elf
Sat Dec 30, 2017 12:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SOLVED on FocusIn not working
Replies: 12
Views: 13489

Re: on FocusIn not working

No, i just want that when i click on a field it runs something. but when you type it does something else
so it has to have a handler for on textChanged as well as some sort of mouseUp or something for when i click in the field