Search found 16 matches

by vuott
Wednesday 22nd August 2018 6:16pm
Forum: General
Topic: Gridline colours
Replies: 2
Views: 195

Re: Gridline colours

Hello,
if you want to set the color of cells borders (...a unique color for the grid):
Public Sub Form_Open()
 
  With GridView1
    .Columns.Count = 4
    .Rows.Count = 4
   
' We'll obtain a "red" grid:
    .Children[0].Background = Color.Red
  End With

End
by vuott
Friday 10th August 2018 6:11pm
Forum: General
Topic: A question about libraries
Replies: 9
Views: 538

Re: A question about libraries

but if LibA needs a function in LibB? You have to load LibB.gambas in LibA.gambas ( they must reside in the same folder, in the same path ), and then you have to load both .gambas libraries, libA.gambas and libB.gambas , in main program. Obviously the codes of the .gambas libraries must be preceded...
by vuott
Friday 10th August 2018 10:11am
Forum: General
Topic: A question about libraries
Replies: 9
Views: 538

Re: A question about libraries

Well, we have a main program and 2 .gambas libraries (libA and libB), containing Gambas code. Main program has to call a function in libA, this function has call a function in libB. In Project-->Property-->Libraries-->Add of main program you have to add both libraries (that is: libA and libB). In th...
by vuott
Thursday 09th August 2018 5:37pm
Forum: General
Topic: A question about libraries
Replies: 9
Views: 538

Re: A question about libraries

bill-lancaster wrote:
Thursday 09th August 2018 12:37pm
Make a simple runtime Gambas library MyLibA and another one, say MyLibB.
Excuse me,
so we have a " MyLibA.gambas " libray and a " MyLibB.so " library ?
by vuott
Saturday 04th August 2018 12:34pm
Forum: General
Topic: A question about libraries
Replies: 9
Views: 538

Re: A question about libraries

Hello,
3 questions:

1) What are these external functions?
2) Are you "translating" into Gambas a code already written in C ? If "yes", what ?
3) Is it possible to have some Gambas code that reproduces that problem?

vuott
by vuott
Monday 11th June 2018 10:22pm
Forum: General
Topic: Children problem
Replies: 4
Views: 391

Re: Children problem

Sometimes Gambas has problems with GTK..... :?
by vuott
Monday 11th June 2018 6:56pm
Forum: General
Topic: Children problem
Replies: 4
Views: 391

Re: Children problem

Do you want to destroy every PictureBox ?
by vuott
Monday 28th May 2018 7:36pm
Forum: General
Topic: Loading an Image/Picture from memory
Replies: 3
Views: 344

Re: Loading an Image/Picture from memory

Well, so I simply answer this your question: I have read in a PNG as a string of bytes, and I am looking for a way to convert that string of bytes to an Image or Picture type, to display to a canvas. ...and this's my code: :| Public Sub Form_Open() Dim pc As Picture pc = Picture.FromString(File.Load...
by vuott
Monday 28th May 2018 2:04pm
Forum: General
Topic: Loading an Image/Picture from memory
Replies: 3
Views: 344

Re: Loading an Image/Picture from memory

Excuse me,
why Base64 ? :|
by vuott
Tuesday 10th April 2018 12:31am
Forum: General
Topic: DrawingArea help needed
Replies: 8
Views: 740

Re: DrawingArea help needed

cogier wrote:
Monday 09th April 2018 6:55pm
Unfortunately it doesn't tell you how to print the contents of a DrawingArea.
I suggest this Wiki page of italian forum:

http://www.gambas-it.org/wiki/index.php ... rawingArea