Xojo xDev Magazine Marc Zeedar interview for the xDev Magazine Tell us a little about your background. Where did you grow up? Where did you go to school? Despite my name sounds English I was born and grew up in France. Actually, my great grandfather was American so my parents decided to name me after him. Perhaps it was premonitory as nowadays most of my customers are American. I left France when I finished studying electronic engineering and moved to Spain where I reside since then. How did you get interested in computers and programming? My first contact with programming …
Category: Xojo
Variable naming conventions
Today I came across an old document I created in June 2004 probably from some text I found on the internet or maybe from an old Xojo Forum post, to say the truth I am not sure where it comes from. Anyway, the thing is that the document in question is some kind of variable naming conventions now I realize I fully adopted it after reading it. This is what it recommends when naming things you are declaring in your code depending on their nature. For you to understand better, it is a list of heading characters you have to …
Sorting a Popup menu with RowTags
Imagine you want to load a popup menu with the name of the files from a given folder, the user will later select an entry from that popup menu to load that file thanks to the file info we will store in the popup menu rowtag property. Now what if we want to sort the popup menu alphabetically? The solution is to load the data into a couple of arrays, sort those arrays together and then load the result into the popup menu. Given ‘f’ is the folder we want to display the items of, this is the code: Dim …