Quantcast
Channel: Xojo Programming Forum - Latest topics
Browsing all 3600 articles
Browse latest View live

DateTimePicker keeps enabling itself in the IDE

I have a dialog that includes 2 DateTimePicker controls, one displays only the date and the other only the time. These controls should only be enabled if some other controls are enabled so I have...

View Article


Image may be NSFW.
Clik here to view.

New App Store Connect warnings for XOJO builds

I’ve started getting a multiple warnings from App Store Connect about API usage when I upload my builds: **ITMS-91053: Missing API declaration** - Your app’s code in the “Photo Tape” file references...

View Article


JavascriptEngineMBS - Function without parameters

When my script calls a function without parameters, the function returns the following value: function (){ [native code]} Example 1: (Doesn’t work) CJSEngine.RegisterFunction ("GetNumber", AddressOf...

View Article

Sending a xojo app to friend

Is there a simple way to email a 9Mb compiled app to a friend? Gmail prevents it, MacOS prevents the opening of a zip file. Dropbox zips the file, but when unzipped there are many files that baffle...

View Article

Get started with HIDAPI classes in Xojo

If you have an USB device with HID protocol, you can easily use it from your Xojo application. Please check out the HIDAPIDeviceMBS class for macOS, Windows and Linux. With the recent 24.1 plugins, we...

View Article


Creating windows at run-time

The following piece of code doesn’t display the close and Min,Max buttons and it is not possible to resize the window. What is wrong? w = new DesktopWindow w.Type = DesktopWindow.Types.Document...

View Article

Manifiesto de Requisitos de Privacidad para apps iOS

A partir del próximo 1 de Mayo de 2024, Apple requiere que todas las apps iOS nuevas o actualizadas incluyan un archivo de manifiesto de privacidad en el caso de que se haga uso de llamadas a métodos...

View Article

Apple’s New Privacy Manifest Requirements

Originally published at: Apple’s New Privacy Manifest Requirements – Xojo Programming Blog Apple is introducing a privacy policy that requires the inclusion of a privacy manifest file in new and...

View Article


Drawing picture in a web canvas

Hi, I am moving a desktop app to a web app. I need to draw a picture with a 2d object inside on a web canvas. I tried if pp<>nil then g.DrawPicture (pp, 30, 30) end And I get " This application...

View Article


MobileTextArea ignoring line breaks when loaded via sqlite

I am working on porting my iOS app to Android. On a modal screen, I have a MobileTextArea that is populated with text from a sqlite table record. The text in the sqlite record has line breaks, but the...

View Article

Image may be NSFW.
Clik here to view.

InstanceSpawn: Launch and maintain a group of server app instances

InstanceSpawn: An Instance Spawn Engine for stand-alone server apps A library to launch and maintain a group of command line argument-configured server instances Define command line arguments for each...

View Article

Image may be NSFW.
Clik here to view.

Becoming a UIDropInteractionDelegate?

I’d like to get my iOS app to accept drops from other applications: e.g., in split screen view on the iPad, a user drags and drops an image into my app from Photos or Safari. I’ve implemented this in...

View Article

DesktopTextField and TAB keypresses on Windows

I just noticed something today I don’t think I have ever noticed before. It seems that, on Windows only, when the AllowTabs property of a DesktopTextField is enabled, and the TAB key is pressed, the...

View Article


Container controls and 'properties'

I defined a new class from a container control. I created a computed property for the control with getters and setters, I’m trying to figure out what i do with the Attributes section in the getter and...

View Article

Need simple-to-use Encrypt Decrypt methods (no plug-ins)

I’m looking for a simple (built-into XOJO) encryption method, using a self-generated ‘key’ (string), that supports a simple decryption process. Thanks for advice! 5 posts - 3 participants Read full...

View Article


DesktopToolbar DropdownMenu

I want to create a DropDownMenu in a DesktopToolbar at runtime. This is my code: QuitButton = New DesktopToolbarButton QuitButton.Name = "QuitButton" QuitButton.Caption = "Quit" QuitButton.ButtonStyle...

View Article

File type not recognized by macOS

My app uses the following 2 exported file types: <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeIdentifier</key>...

View Article


Canvas on Android - change height based on text drawn inside

I use the below functionality to first draw a picture of the text, get the height of this text picture, and then alter the height of the canvas based on the height. This works in desktop and iOS, but...

View Article

Option-dragging a constant from one class to another does not include the value

Here’s a fun little bug I discovered today that could easily lead to difficult-to-detect problems: if you option-drag a numeric constant from one class to another, the resulting copy LOOKS like it...

View Article

Image may be NSFW.
Clik here to view.

Paint icon in NSTableView

I’m struggling a bit to paint an icon in NSTableview because everything is upside down or whacky. CellTextpaint: const IconSize as Integer = 24 dim nsg as new NSGraphicsMBS...

View Article
Browsing all 3600 articles
Browse latest View live