Search found 73 matches

by AZJIO
Mon Mar 25, 2024 2:17 am
Forum: Coding Questions
Topic: Scaling png (?)
Replies: 6
Views: 372

Re: Scaling png (?)

how can ? is it a spidebasic "app" ? hwo do you display image ? in a image gadget ? An image on an html page that is open in WebGadget. The files are located in the "Data" resource folder. You can follow the links and download several files as an example. One of the archives (PB...
by AZJIO
Tue Mar 19, 2024 11:15 pm
Forum: Coding Questions
Topic: Scaling png (?)
Replies: 6
Views: 372

Re: Scaling png (?)

if its an image inside YOUR app("website") then its easy to add controls, like + button next to it to do whatever you want I've been trying to do what I want all day, but nothing has worked out. I was given other ideas that could well replace my idea, that is, scaling the entire window an...
by AZJIO
Sun Mar 17, 2024 1:07 pm
Forum: Coding Questions
Topic: Scaling png (?)
Replies: 6
Views: 372

Re: Scaling png (?)

This is not exactly what I want. I'm displaying HTML pages in a webgadget. Many people immediately want to enlarge it, but nothing happens, the text and pictures remain in their original size. One person who liked the idea of ​​a help file decided to look for these features himself and found some id...
by AZJIO
Mon Mar 04, 2024 9:30 pm
Forum: Coding Questions
Topic: Scaling png (?)
Replies: 6
Views: 372

Scaling png (?)

At work, I have electrical circuit diagrams for equipment. Can I create an application where I can select a schema and scale it? Nowadays, copying an archive of files is not convenient for everyone; everyone needs an application to press buttons.
by AZJIO
Mon Feb 19, 2024 6:28 pm
Forum: Coding Questions
Topic: TreeGadget Font & Color
Replies: 2
Views: 137

Re: TreeGadget Font & Color

Custom fonts work, but line spacing seems fixed (see example). Is there a way to change line spacing with big fonts? Non-standard solution - many things can be solved by customizing the theme. In the compiler settings ("Compiler options") you can select a theme. Initially there are two th...
by AZJIO
Mon Feb 19, 2024 7:11 am
Forum: General Discussion
Topic: Translating Regular Expression Errors
Replies: 2
Views: 243

Re: Translating Regular Expression Errors

PCRE uses an error code Error return values from pcre_exec() If pcre_exec() fails, it returns a negative number. The following are defined in the header file: PCRE_ERROR_NOMATCH (-1) The subject string did not match the pattern. PCRE_ERROR_NULL (-2) Either code or subject was passed as NULL, or ovec...
by AZJIO
Thu Feb 15, 2024 7:42 pm
Forum: Coding Questions
Topic: ExtractRegularExpression, but only groups (?)
Replies: 0
Views: 141

ExtractRegularExpression, but only groups (?)

How to transform the code to get only words matching a regular expression. The first code works correctly. var re = /^.*?([a-zа-яё\d_]*bi[a-zа-яё\d_]*).*?\|.+?\|.+?$/mgi; var str="_arraybin|_ArrayBin|func\_ArrayBin\n_arraycom|_ArrayCom|func\_ArrayCom\n_arrayconc|_ArrayConc|func\_ArrayConc"...
by AZJIO
Tue Feb 13, 2024 4:04 pm
Forum: Tricks 'n' Tips
Topic: Loading icons using a timer
Replies: 0
Views: 414

Loading icons using a timer

The timer has low priority so it runs when the icons are already loaded #Window = 0 #Menu3 = 3 Enumeration #btnMenu EndEnumeration Global IsLoad Global g_Timer Global Dim icons(3) Procedure Loaded(Type, Filename$, ID) Select Mid(Filename$, Len(Filename$) - 4, 1) Case "1" icons(0) = ImageID...
by AZJIO
Tue Feb 13, 2024 1:56 pm
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 274

Re: Is RadixTree possible here

; -------------------------------------------------------------------------------------------- ; Copyright (c) Fantaisie Software. All rights reserved. ; Dual licensed under the GPL and Fantaisie Software licenses. ; See LICENSE and LICENSE-FANTAISIE in the project root for license information. ; -...
by AZJIO
Tue Feb 13, 2024 12:11 pm
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 274

Re: Is RadixTree possible here

There is no message. It’s just that when you enter text, nothing happens, but a list of words should appear. And also the StrChange() function does not work BindGadgetEvent(#Str, @StrChange(), #PB_EventType_Change) But if I remove the word insertion in the RadixTree (inside the loop the line above),...