Closed boa2145 closed 1 year ago
@boa2145 sVB uses a small windows forms framework for simplicity. Copying all the DotNET framework to sVB will just complicate it for kids. I only provided the LeftToRight property because it is important for Arabic and some other languages. But, I opened back doors to get full access of controls, as they are actually WPF controls, so you can change controls properties by:
Note: You can set the width or height properties to -1 to make the label (or any other control) have an auto width or auto height.
Hello Mohammad, Thanks for your reply. I see that the label and button has only some properties. It is okay for me and I understand the LeftToRight property for other languages. At the moment I am testing the form designer of sVB and there are a lot of questions which are driving through my head.
Is it possible to extend the number of fonts, because I prefer old fonts like "Typewriter" and other fonts from old typewriters (1960s and 1970s) resp. retro or vintage fonts.
Does sVB has the option to save the file automatically after a number of minutes? Then I don't always have to save manually.
Regards ... Gregor
Is it possible to extend the number of fonts, because I prefer old fonts like "Typewriter" and other fonts from old typewriters (1960s and 1970s) resp. retro or vintage fonts.
Fonts are defined on the user PC, and sVB just shows them. You can install whatever fonts you want on your system, and they will appear in the font dialog, or you can set thee font name directly to the Font property of the control.
Does sVB has the option to save the file automatically after a number of minutes? Then I don't always have to save manually.
sVB saves the design eveyy time you switch to the code editor, and saves the code and design when you run the program. But you should always save code manually after maling changes. I always press Ctrl+S after pressing Enter. It became a second nature of me :D
Hello Mohammad,
How can I align the text on a label (right and middle) and button (left and right) justified? I see that the text of a button is always in the middle, but the text of label is always on the left, if the size of a label bigger than the length of the caption.
Regards ... Gregor