Search found 9 matches
- Tue Jan 14, 2020 8:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Force Card to reload every time it will be opened
- Replies: 3
- Views: 2425
Re: Force Card to reload every time it will be opened
Hi Klaus, sorry, I am afraid, but I don't get you. I have put the script on opencard send "loadPreferences" to this stack in 10 end opencard command loadPreferences put readPreferencesToXMLTree() into tTree if tTree is empty then exit loadPreferences end if end loadPreferences private function readP...
- Tue Jan 14, 2020 8:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: XML to Datagrid
- Replies: 4
- Views: 2590
XML to Datagrid
Hi, I am trying to display nodes of a XML table into a Datagrid. As far as I have understand, I put the nodes into the variable aRecords, and then, end of the loop, I put the variable aRecords with dgData into the DataGrid. I tried the code below, but no result will be shown in the DataGrid. private...
- Mon Jan 13, 2020 12:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Force Card to reload every time it will be opened
- Replies: 3
- Views: 2425
Force Card to reload every time it will be opened
Hi,
I am working with Navigation Bar in my APP. How can I reload the card "Home" every time this card will be opened from stack?
I tried with on openstack and on opencard, but it will not reload
Reason for this: I want to show random exhibitors to the users...
Thank you very much,
Stefan
I am working with Navigation Bar in my APP. How can I reload the card "Home" every time this card will be opened from stack?
I tried with on openstack and on opencard, but it will not reload
Reason for this: I want to show random exhibitors to the users...
Thank you very much,
Stefan
- Sun Jan 12, 2020 10:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Re: Play Video from Vimeo
Oh, I am soo stupid...
All the best,
Stefan
PS: Next step: Data Grid!
All the best,
Stefan
PS: Next step: Data Grid!
- Sun Jan 12, 2020 9:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Re: Play Video from Vimeo
Hi Klaus, thank you very much. When I return the variable "rNumber", then it will be shown correct, but when I use it with the URL then it is always "empty". I am using a field, there I see the error: put random(3) + 1 into rNumber return rNumber I just have 5 entries in this table of the db. xmlerr...
- Sun Jan 12, 2020 6:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Re: Play Video from Vimeo
Hi Klaus, thank you very much for your help. It works like a charm :-) When I try to work with random numbers, I try to work with put random(1) + 4 into rNumber put url("URL?messe=rNumber") into tXML But I do not get any result. I think it is because I have to mask the variable. What is the syntax i...
- Sun Jan 12, 2020 6:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Re: Play Video from Vimeo
Hi Klaus, thank you very much for your help and your advices. This Code is working when I connect it to a button, but how can I process it, when the stack is loading? on mouseUp loadPreferences end mouseUp command loadPreferences put readPreferencesToXMLTree() into tTree if tTree is empty then exit ...
- Sun Jan 12, 2020 9:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Re: Play Video from Vimeo
Hi Klaus thank you for your feedbck. I am Austrian, so the German Forum might also work :-) I have seen the tutorial /m/4071/l/7011-how-to-read-in-data-from-an-xml-file but there the XML File will be load from Desktop, how can I read from Web XML? This is my XML File: <messen> <messe> <id>1</id> <me...
- Thu Jan 09, 2020 1:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play Video from Vimeo
- Replies: 12
- Views: 5432
Play Video from Vimeo
Hi, I am new to LiveCode - My Background is PHP and MySQL. I want to show Videos from Vimeo in my app. The URL comes from a MySQL DB which I want to fetch via XML: <vimeo>linktovimeo/video/372847164</vimeo> I have seen, that I should use Web Browser for that action, but I have nothing seen in the do...