Search found 185 matches
- Saturday 25th March 2023 10:28am
- Forum: General
- Topic: Modifying things with Automatic inheritance (Quick HowTo)
- Replies: 12
- Views: 3449
Re: Modifying things with Automatic inheritance (Quick HowTo)
I overload the "TextLabel" class with my own properties. What works so far programmatically, but in the IDE I can not enter new values. ' Gambas class file Export Public Const _Properties As String = "*,IsHeader,IsList" Property IsHeader As Boolean Private $IsHeader As Boolean = ...
- Monday 5th December 2022 11:40pm
- Forum: General
- Topic: Pass a class to a variable
- Replies: 11
- Views: 3193
Re: Pass a class to a variable
maybe i'm too old for that shit but i did not understand one single word you wrote ...
- Friday 25th November 2022 3:11pm
- Forum: General
- Topic: Resize a picture
- Replies: 5
- Views: 950
Re: Resize a picture
picturebox with stretch = true ???
otherwise ... the image class has a function called stretch
otherwise ... the image class has a function called stretch
- Wednesday 23rd November 2022 7:21am
- Forum: General
- Topic: Allowable characters in sqlite3 database file names
- Replies: 4
- Views: 778
Re: Allowable characters in sqlite3 database file names
confirmed Behavior ... but found this: Naming Conventions for SQLite Each database, table, column, index, trigger, or view has a name by which it is identified and almost always the name is supplied by the developer.The rules governing how a valid identifier is formed in SQLite are set out in the ne...
- Thursday 10th November 2022 12:43pm
- Forum: General
- Topic: Getting Data from Serial
- Replies: 27
- Views: 2998
Re: Getting Data from Serial
Ascii Hex Dec Bin
< 3C 60 00111100
\ 5C 92 01011100
- Tuesday 8th November 2022 2:23pm
- Forum: General
- Topic: Fix messages opening on the wrong screen
- Replies: 4
- Views: 749
Re: Fix messages opening on the wrong screen
after a very quick test it seems to work as expected ...
- Friday 16th September 2022 11:22am
- Forum: General
- Topic: Convert this C code to Gambas
- Replies: 10
- Views: 1968
- Sunday 14th August 2022 10:01pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4161
Re: Help With JSON formatting
try this one :
Dim jsonString As String = "{\"transactionType\":\"SALE\",\"amount\":\"" & transAmount & \"",\"currency\":\"GBP\"}"
- Saturday 13th August 2022 9:39am
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4161
Re: Help With JSON formatting
don't know your json but if you like to have a quotation mark inside a string you have to escape it with a backslash ...
OR
something like so:
OR
something like so:
string = "first part" & chr(34) & "second part"
will result in: firstpart"second part- Thursday 11th August 2022 12:21pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4161
Re: Help With JSON formatting
escape the quotation mark with \
string = " \"this should work \""
string = " \"this should work \""