Search found 20 matches
- Wed Nov 23, 2022 9:26 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this.
- Replies: 10
- Views: 4639
Re: Need help with this.
I was expecting more like a drop down menu where I can choose the currency and choose also which one to convert to Possibly, but I am not going to do ALL your work for you. I understand, I just need like a concept to work off on. This is kind of what I am thinking about: https://www.youtube.com/wat...
- Wed Nov 23, 2022 9:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this.
- Replies: 10
- Views: 4639
Re: Need help with this.
Just the same as you would make a temperature converter . . . - temps.jpg - . . . except you would, probably need a way to get the exchange rates from the internet. Code inside button '∘C': on mouseUp put fld "fC" into CENTIG put (0.8 * CENTIG) into fld "fRe" put (((CENTIG / 5) * 9) + 32) into fld ...
- Wed Nov 23, 2022 9:06 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this.
- Replies: 10
- Views: 4639
Re: Need help with this.
I want to have like a drop down menu where I can choose which currency I want to choose, and it converts to rest of them.
Would be great if anyone could help
Would be great if anyone could help
- Wed Nov 23, 2022 8:45 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this.
- Replies: 10
- Views: 4639
Need help with this.
How would I go about making a currency converter.
I want to be able to choose currencies from NOK, euro, dollar and english pounds and convert whichever I want to choose.
I can choose whatever currency I want and it converts to the rest. Those 4 currencies are all I need, how would I make this
I want to be able to choose currencies from NOK, euro, dollar and english pounds and convert whichever I want to choose.
I can choose whatever currency I want and it converts to the rest. Those 4 currencies are all I need, how would I make this
- Tue Oct 18, 2022 3:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
Hi again, thank you for everything Klaus. I appreciate it a lot! Very helpful and good at explaining. I've got everything working
- Mon Oct 17, 2022 8:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
I'll send you an email again, can you look at what I did wrong? I'm having trouble understanding why it's not deleting and moving it to 2nd grid under it.
- Mon Oct 17, 2022 5:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
This script already shows the solution: ... ## What line is selected: put the dghilitedline of grp "datagrid" into tLineNumber ## Delete that line from datagrid: dispatch "deleteLine" to grp "datagrid" with tLineNumber ... In your script "on slettBil" you forget the first part: finding out the curr...
- Mon Oct 17, 2022 4:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
To actually delete a line use -> DeleteLine ... ## What line is selected: put the dghilitedline of grp "datagrid" into tLineNumber ## Delete that line from datagrid: dispatch "deleteLine" to grp "datagrid" with tLineNumber ... I sent you an email, my friend. Hopefully you can help me a little. Than...
- Mon Oct 17, 2022 3:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
Ok! I'm kind of stuck now.
So I click delete. And this happens: https://prnt.sc/mhAPNSvxxXB1
I want it to remove it from the top grid and add it onto the second grid under it. Which is sold cars.
Need a little help.
So I click delete. And this happens: https://prnt.sc/mhAPNSvxxXB1
I want it to remove it from the top grid and add it onto the second grid under it. Which is sold cars.
Need a little help.
- Mon Oct 17, 2022 2:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
You quoted the part that will add the deleted = sold cars! You mean just a couple of ASK dialogs and storing the users answer in variables: ... ## Ask user to enter merk, modell etc... ask "Merke?" ## User clicked CANCEL: if the result = "cancel" then exit to top end if put it into tMerke ask "Mode...
- Mon Oct 17, 2022 2:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
OK, then just add the infos to that field: ... ## What line is selected: put the dghilitedline of grp "Your datagrid here" into tLine ## Now fetch the DATA in this line put the dgDataOfLine[tLine] of grp "Your datagrid here" into tData ## Set itemdel to TAB put item 1 of tData into tMerke put item ...
- Mon Oct 17, 2022 1:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
Re: How to add a new row in my datagrid and remove as well
Hi Curiousbystander, 1. add data Ask your user what he/she want to add and store everything into a variable. Then put this info into one TAB delimited line: ... put tMerke & TAB & tModell & TAB & tKM & TAB & tPris into tNewLineData ## Here the command to add data to a datagrid of type TABLE: dispat...
- Mon Oct 17, 2022 12:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to add a new row in my datagrid and remove as well
- Replies: 18
- Views: 6234
How to add a new row in my datagrid and remove as well
Hi friends. I have a datagrid that involves cars, year model, kilometer and price. I'm trying to make two buttons, one that adds cars to the grid and one that removes it. BUT, when I remove one of the rows I also want that to be stored in some sort of field that shows that the car has been sold. So ...
- Thu Sep 08, 2022 2:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Based on this code, how would I make a register button
- Replies: 23
- Views: 8623
Re: Based on this code, how would I make a register button
Thank you all for educating me.
It's working now, thank you again.
It's working now, thank you again.
- Thu Sep 08, 2022 2:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Based on this code, how would I make a register button
- Replies: 23
- Views: 8623
Re: Based on this code, how would I make a register button
Could you show me how, if possible.
I'm sitting here trying not working out for me
I'm sitting here trying not working out for me