Search found 1556 matches

by BruceSteers
Monday 22nd April 2024 3:06am
Forum: Beginners
Topic: Draw randomly colored dots in DrawingArea - how?
Replies: 8
Views: 143

Re: Draw randomly colored dots in DrawingArea - how?

... or make your dots an array that the Draw event paints the same array each time. Ouch! That was like a wake up slap - duh - :mrgreen: ! Haha. I think your main problem was thinking the Draw() event and refresh do little bits. But no , the refresh triggers the Draw event for a complete draw. know...
by BruceSteers
Sunday 21st April 2024 9:49pm
Forum: Beginners
Topic: Draw randomly colored dots in DrawingArea - how?
Replies: 8
Views: 143

Re: Draw randomly colored dots in DrawingArea - how?

Hey Bruce, I've modified my code as you had it above and noticed that the DrawingArea refresh several times when loses or gains focus and on form resize. Is this something that can be overcome? As it currently stands, it's not ideal for what I'm planning to do with it. The PictureBox is already gai...
by BruceSteers
Sunday 21st April 2024 8:47pm
Forum: Beginners
Topic: Draw randomly colored dots in DrawingArea - how?
Replies: 8
Views: 143

Re: Draw randomly colored dots in DrawingArea - how?

Depending on the application it can be better to use a simple PictureBox and use paint functions to paint the picture. Like I say it depends on the application, sometimes a DrawingArea is prefered , sometimes a Picture A PictureBox can be easily manipulated and things added to it, PictureBox1.Pictur...
by BruceSteers
Sunday 21st April 2024 8:36pm
Forum: Beginners
Topic: Draw randomly colored dots in DrawingArea - how?
Replies: 8
Views: 143

Re: Draw randomly colored dots in DrawingArea - how?

The DrawingArea_Draw event is to paint the entire Drawing area surface , totally, from blank. Calling .Refresh triggers the draw event to clear the area and draw anew. (not just part of it) So what you have there is an animation rapidly showing random single dots. you should put the loop in the Draw...
by BruceSteers
Thursday 18th April 2024 7:40pm
Forum: Component
Topic: Change column width in a DataView not working [solved]
Replies: 2
Views: 108

Re: Change column width in a DataView not working

The code should look more like this... DataView1.View.Columns[1].Width = 50 you are missing the Width property DataView1.View.Columns[1] is a pointer to the the Column object not it's width property. PS. It can help a lot to just try hitting . (dot/full stop) after anything and see if the auto-compl...
by BruceSteers
Thursday 18th April 2024 5:21pm
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 6
Views: 2248

Re: Germinal - a terminal with some potential

hai bruce, you may should disable the selection of proportional fonts and just show monospaced ... cause its very ugly ;-) micha Probably a good idea. Cheers :) How do you like it though? Used Ctrl to move the cursor yet? I'm loving that feature, it makes things like editing a paste of the gambas d...
by BruceSteers
Wednesday 17th April 2024 4:12pm
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 6
Views: 2248

Re: Germinal - a terminal with some potential

I've just created a development branch on gitlab so i can test things there before merging to main and keep the revision raising to a min. I've just ironed out some bugs in the new routines. : :roll: I have made it so changing prompt line from showing full path to only folder also restores the comma...
by BruceSteers
Wednesday 17th April 2024 1:14pm
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 6
Views: 2248

Re: Germinal - a terminal with some potential

This program is also still a bit WIP I have been using it for a long time and it's fully functional but the recent cursor movement addition was so awesome i had to upload it to the world right away. (i probably should have fully tested/debugged it first) The custom command menu does not work and is ...
by BruceSteers
Wednesday 17th April 2024 10:15am
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 6
Views: 2248

Re: Germinal - a terminal with some potential

Btw. there's some bugs in gb.form.terminal that i'm reporting and hopefully Benoit can find a fix. Basically do not resize the terminal when there is a long command line present. It seems okay with short command lines but if there is a long command (more than one line) then resizing the terminal wil...
by BruceSteers
Tuesday 16th April 2024 4:02pm
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 6
Views: 2248

Germinal - a terminal with some potential

Germinal A gambas terminal application (bash) Main Features.. * Bookmark folders and use the bookmarks to either cd the dir or input the text * Customize look, Color, transparency, font * Show bash history in a searchable list. (see snapshot) * Edit current command line in a TextEditor * Select/Del...