Search found 1370 matches

by VANYA
May 10, 2020 7:47
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 56
Views: 7640

Re: IUP_FB_EDITOR (simple development environment)

Dear VANYA; I'm sorry for the trivial thing. In a comment, if it starts with an asterisk, it won't be the color I set in the comment. Is this a specification? Hi Makoto WATANABE! Part of the Scintilla library (lexer written in C++ ) is responsible for this functionality. I am not so strong in C++ t...
by VANYA
May 08, 2020 3:33
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 56
Views: 7640

Re: IUP_FB_EDITOR (simple development environment)

Hi Makoto WATANABE! Dear VANYA; Thanks for your quick reply. I updated the zJPplug.cfg. thanks. I would like to translate your following page into Japanese and introduce IUP_FB_EDITOR to Japanese people. Info: https://iupfbeditor.sourceforge.io/ Please consent to this. Of course, just please add you...
by VANYA
May 07, 2020 7:44
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 56
Views: 7640

Re: IUP_FB_EDITOR (simple development environment)

Hi Makoto WATANABE! Strangely, even though it looks like "Mixed" on the screen, when I copy it to the clipboard, it becomes uppercase or lowercase, just like when I saved the file. so I’m talking about this. The problem is not only in saving files, but also in copying text to the clipboard...
by VANYA
May 06, 2020 17:16
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 56
Views: 7640

Re: IUP_FB_EDITOR (simple development environment)

Hi all! However, the saved file has keywords in lowercase or uppercase. Scintilla does not offer this feature: https://scintilla.org/ScintillaDoc.html The value of caseVisible determines how text is displayed. You can set upper case (SC_CASE_UPPER, 1) or lower case (SC_CASE_LOWER, 2) or camel case (...
by VANYA
May 05, 2020 8:34
Forum: Libraries
Topic: FBGUI library for Windows 2
Replies: 800
Views: 159649

Re: FBGUI library for Windows 2

Dear VANYA; "libz.a" was included in the previous version of the Window9 library "LIBFB". However, it is not included in the new package, so please include it. If possible, I would appreciate including also "libzlib.a" in the Window9 package. Hi Makoto WATANABE! I put ...
by VANYA
May 01, 2020 11:30
Forum: Libraries
Topic: FBGUI library for Windows 2
Replies: 800
Views: 159649

Re: FBGUI library for Windows 2

Hi enform! # Include "window9.bi" Var hwnd = OpenWindow ("", 10,10,300,100) ComboBoxGadget (1,10,10,100,80) AddComboBoxItem (1, "Privet0", -1) AddComboBoxItem (1, "Privet1",-1) AddComboBoxItem (1, "Privet2", -1) TextGadget (2,150,10,100,20) Var evnb ...
by VANYA
Apr 23, 2020 18:04
Forum: Tips and Tricks
Topic: ON TIMER equivalent using signals
Replies: 1
Views: 286

Re: ON TIMER equivalent using signals

I checked on systems and it work:

Linux mint 18 (64-bit)
DOS 6.22

------------

In windows it will not work.
by VANYA
Apr 23, 2020 11:20
Forum: Projects
Topic: IUP_FB_EDITOR (simple development environment)
Replies: 56
Views: 7640

Re: IUP_FB_EDITOR (simple development environment)

Hi all!

Updated the editor. Errors fixed.
by VANYA
Apr 02, 2020 3:13
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

The morning finally earned the brains and I was able to understand the explanation fxm. Guys thanks for the discussion!
by VANYA
Apr 01, 2020 18:04
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

I understand that, but I'm interested in this question which basically it turns the extra destructor is called Since the temporary 'type' (which takes the data from the locally created/destroyed 'type') is constructed at 'return time', it can only be destroyed in MAIN-code ... (in the Function you ...
by VANYA
Apr 01, 2020 17:25
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

*created: 140720577747840 <- @R destroyed 140720577747840 <- @R destroyed 140720577747904 ' the destructor is unnecessary from a hidden constructor No way, except you are aiming at: creating willingly, a memory leak. It is as simple as that: - what has been created (anywhere) - must be destroyed (s...
by VANYA
Apr 01, 2020 17:17
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

I will raise the question wider:

If the programmer defines his own constructor, then why does the implicit constructor + destructor work. At what the destructor is triggered explicitly.
by VANYA
Apr 01, 2020 17:10
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

Here's a look:

*created: 140720577747840 <- @R
destroyed 140720577747840 <- @R
destroyed 140720577747904 ' the destructor is unnecessary from a hidden constructor
by VANYA
Apr 01, 2020 16:42
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

Re: The extra destructor is called

MrSwiss wrote:@VANYA, nice try, at a April Fool's prank.


April 1 has nothing to do with it. I am not good at OOP, despite being 10 years old with FB. It's just that I almost never use OOP or use it at the simplest level.
Please explain to me why the destructor is called if the constructor is hidden?
by VANYA
Apr 01, 2020 15:44
Forum: Beginners
Topic: (SOLVED) The extra destructor is called
Replies: 13
Views: 771

(SOLVED) The extra destructor is called

Hi all! Why does the destructor call again in this code? This is a bug? Type rational numerator As Integer denominator As Integer Declare Constructor() Declare Destructor() End Type Constructor rational() Print "*created: "; @This End Constructor Destructor rational() Print "destroyed...

Go to advanced search