Search found 58 matches

by redfield
Sat May 02, 2020 5:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Problem with replacement of a character
Replies: 2
Views: 296

Re: [SOLVED] Problem with replacement of a character

Okay thanks. I thought by defining the position of the char to be replaced ("... char charPosition..."), only this one position would be touched. AND I forgot all about "put into". Works fine now.
by redfield
Sat May 02, 2020 10:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Problem with replacement of a character
Replies: 2
Views: 296

[SOLVED] Problem with replacement of a character

Hi Livecoders, probably this is a very simple one, but unfortunately not simple enough for me :? . In a string, e. g. "/folder/subfolder", I am wanting to replace the second "/" with a "." To achieve this I coded the following: put "/folder/subfolder" into fld "fField" if offset("/", fld "fField", 1...
by redfield
Mon Apr 06, 2020 11:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Ask password dialogue buttons
Replies: 5
Views: 496

Re: Ask password dialogue buttons

Okay I'm on Linux and used the temporary solution, which works well. I wasn't aware that those dialogues are stacks :shock: . Many thanks!
by redfield
Wed Mar 25, 2020 6:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Ask password dialogue buttons
Replies: 5
Views: 496

[SOLVED] Ask password dialogue buttons

Hello All,
I am wondering if it is possible to change the standard buttons (OK and Cancel) of the ask password dialogue? E. g. 'Yes' instead of 'OK', 'No' instead of 'Cancel'?
Thanks!
by redfield
Sun Dec 01, 2019 8:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups disappear from card
Replies: 10
Views: 1106

Re: [SOLVED] Groups disappear from card

I am attaching the messy Stack. When for example Group A und B (the first two) are ungrouped, then the group members of Group B seem to get kicked out of their Group, by the group members of Group A. In the Stack, Group A and its members are now invisible. In the Project Browser Group A is gone, its...
by redfield
Mon Nov 25, 2019 7:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups disappear from card
Replies: 10
Views: 1106

Re: Groups disappear from card

I will definitely make sure in the future. Finally I got back to this today and would like to share how I managed to make the groups visible again. In the Project Browser: first I unlocked the location of the group (right-click on the group, untick Lock Location) and then I set the visibility of one...
by redfield
Wed Nov 13, 2019 10:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups disappear from card
Replies: 10
Views: 1106

Re: Groups disappear from card

Hi guys,
thanks so far. So I am attaching a screenshot of the PB, although I had already tidied up the mess in it - I don't think it's very meaningful this way, is it?

sample.png

Probably I should start all over again and be very careful with deleting objects or groups :roll: .
by redfield
Wed Nov 13, 2019 8:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Groups disappear from card
Replies: 10
Views: 1106

[SOLVED] Groups disappear from card

Hi guys, I need help again, really don't get what's going on here. When grouping some objects on a card, they simply disappear from the card. I can only "see" them in the Project Browser. The layer of the card itself is 3 and for some reason I can't change it to 4 or higher. The layers of one of the...
by redfield
Tue Oct 15, 2019 9:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mark menu item as checked
Replies: 53
Views: 4557

Mark menu item as checked

Hey Experts, I have created a menu with the menu builder and in the builder noticed an option to mark an item as checked. When I select it, a !c appears in front of the item and in the application the item appears as checked. But I don't want it permanently checked but only when the item has been cl...
by redfield
Sun Oct 13, 2019 10:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Encrypt / Decrypt
Replies: 7
Views: 1046

Re: [SOLVED] Encrypt / Decrypt

Finally I get to provide a feedback. It's working now, but unfortunately I don't exactly know what was wrong. I started with "the result", it was empty, so then I tried the custom property solution, but it still didn't work. Then I downloaded the SPY.livecode stack and it worked. The code seemed ide...
by redfield
Wed Oct 02, 2019 9:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Encrypt / Decrypt
Replies: 7
Views: 1046

[SOLVED] Encrypt / Decrypt

Hey guys, I would like to store some passwords in a database and for that encrypt them first. I think it would be better (-> safer) to store only their hashes, but the passwords shall later be used, without having to ask the user for them. So I think I need to go with encrypt/decrypt. Therefore I am...
by redfield
Sun Sep 29, 2019 7:58 pm
Forum: Databases
Topic: Path to database
Replies: 18
Views: 3148

Re: Path to database

Good point - should be even obvious for a beginner like me :|
by redfield
Sun Sep 29, 2019 6:30 pm
Forum: Databases
Topic: Path to database
Replies: 18
Views: 3148

Re: Path to database

Well through this script on openStack put specialfolderpath("home") & "/newfolder" into targetFolder if there is not a folder targetFolder then create folder specialfolderpath("home") & "/newfolder" end if put specialfolderpath("resources") & "/db_test" into tSourceFile put specialfolderpath("home")...
by redfield
Sun Sep 29, 2019 6:16 pm
Forum: Databases
Topic: Path to database
Replies: 18
Views: 3148

Re: Path to database

...if you add your database to your standalone via the "Copy files" tab in the "Standalone Applicartion Settings" , then you will find it in your runtime in -> specialfolderpath("resources") Did you do this? Nope - never paid attention to the 'Copy files' setting up to now :oops: . I thought the da...
by redfield
Sun Sep 29, 2019 3:42 pm
Forum: Databases
Topic: Path to database
Replies: 18
Views: 3148

Re: Path to database

Thanks bogs. 25 1.) the db isn't created yet or isn't at the location of the path false 25 2.) the db is at the location of the path, but is empty true 25 3.) the db is at the location and has information already false :D 2.) The only way I see this happen is if *1.) is true, and there was no code t...

Go to advanced search