Creating a folderitem
I am confused. Did not use XOJO for a while and wanted to anything quick but stucking with creating a file. I can create a folder… SpecialFolder.ApplicationData.Child(“abc”).CreateAsFolder but I...
View ArticleWebapp: possible to listen to a (secure) port range?
Hi Folks, in one of my webapps, I would like to listen to a range of ports for the app to respond and then decide in the session opening, or the handleurl event in which part of the app the user will...
View ArticleiOS Quality of Life Bugs & Requests
As I’ve gotten deeper into an iOS project, I’ve stumbled across several bugs and issues along the way. Two of my previously filed tickets have already been addressed (Woohoo, great job Xojo team!)…...
View ArticleSearch element in array
Hello my friends, My question is really basic but I wanted to ask the opinion of real programmers. I have a list of items. Example : Var People() As String = Array("John", "Sally", "Fred", "Nancy") I...
View ArticleCreate Fast RESTful APIs in Xojo
Originally published at: Create Fast RESTful APIs in Xojo – Xojo Programming Blog Application programming interfaces (APIs) are essential for enabling digital interactions. They facilitate...
View ArticleIllegalCast while scanning Controls on a Window
The code below returns an IllegalCastException on Next: For Each c As Control In Self.Controls Select c IsA TextField // havin Case or not change nothing to the matter End Select Next In the mean...
View ArticleHow to save RTF enrichments from a TextArea?
Hello, I load an RTF file into a TextArea (code below) and then I want to save the changes. How do I keep the enrichments? textInput = TextInputStream.Open(file) fileContent = textInput.ReadAll...
View ArticleSQL syntax - Is this Possible?
Good Day! I have a question, I am not sure how to search for an answer as I think what I am asking may not exist. If you are aware whether it does or does not exist could you let me know? Thanx in...
View ArticleListBox and sum
Hi guys, I have a screen with a ListBox. Populated with values. Is there a way to have an immediate sum of a column for all the rows of the table, without having to read one row at a time in a loop? 2...
View ArticleWin .addcontrol crashes with DesktopHTMLViewer
I am wondering if I am misunderstanding something as this is the first time for me using .addcontrol It seems to work as expected with other control types but it hard crashes out in dev environment...
View ArticleNon-implicit windows with no reference. Bad practice?
Simple (I think) question. If I have a app where I want multiple instances of the same window, is it bad practice to not save references to those instances as properties somewhere? I have no need to...
View ArticleChoice of Apple Mac
I’m currently in the Play Store Closed Testing saga and hoping to publish my Android App in the next week or two. Then I need to turn my attention to porting it to iPhone and I believe that I have no...
View ArticleTextArea cursor move
I want to know how to move the cursor to the end of a line in a TextArea. 5 posts - 2 participants Read full topic
View ArticleTextArea keep Color
After changing the color of the TextArea to whatever color I want, I use the and then scroll down again, the color of the text has changed. I want to keep the color, is there any way? 1 post - 1...
View ArticleArabic text on DynaPDF in Linux
Anybody know how to write arabic text using dynapdf on linux system. Its working perfectly on wondows OS. but gives garbage result on linux system using the exact source code. 5 posts - 2 participants...
View ArticleEmbedding AppleScripts?
According to Chat GPT, you can embed AppleScripts into your Xojo app. It looks something like this: Var appleScript As String = _ "tell application \"Pages\" to activate" + Chr(10) + _ "tell front...
View ArticleHow to save the active sheet in an Excel workbook to a PDF file
I am using the code below, but I get a syntax error. I used “" after the reserved words true and false. I also get a syntax error if I do not use the "”...
View ArticleHow add scrollbar (or any control) to a ContainerControl super class?
I have a containerControl without a Layout used as a super for containers with a Layout. The super is used for automating control positions. How can I add a scrollBar (or any other control) to the...
View ArticleHappy Anniversary to GraffitiSuite!
On October 15th, 2003, GraffitiSuite launched as a single component – GraffitiButton – for Xojo (then Realbasic) Desktop. Since that time, thanks to the support of this wonderful community, we’ve...
View ArticleSuper Simple Web Switch Control?
Hey, Found this post when searching for a switch control for web. Tried it in 2024r3 but it does not seem to do anything. Anyone else got this to work or has it broken in newer versions of our beloved...
View Article