Search found 14 matches

by GerardBuzolic
Thursday 16th May 2019 3:27pm
Forum: Lounge
Topic: Computers and Life...
Replies: 11
Views: 16205

Re: Computers and Life...

For what it's worth, when I lost something or something breaks I get another, only a slightly better one, as soon as possible. I figure it is no use crying over spilt milk and I am going to need it. It reduces grieving time. And they have to be within budget. Photos and people are irreplaceable, but...
by GerardBuzolic
Thursday 16th May 2019 2:52pm
Forum: General
Topic: Making a Class Based on a TableView
Replies: 7
Views: 8519

Re: Making a Class Based on a TableView

That worked fine. I dragged an instance of SearchBox from the toolbox of classes onto the form. (I found I had to have the word EXPORT in at the start of the class and run the program for it to appear in the toolbox.) However, when I tried to instantiate the SearchBox in code using Public sb1 As New...
by GerardBuzolic
Wednesday 15th May 2019 7:52am
Forum: General
Topic: Making a Class Based on a TableView
Replies: 7
Views: 8519

Re: Making a Class Based on a TableView

Thanks Quin. I think you are saying that the KeyPress handler has to be in the form, and duplicated for every instance of the class SearchBox that I have. Which is what TableViews do, and I should have thought of that. I can simplify things by calling the code I typed in my first post "CheckKey...
by GerardBuzolic
Tuesday 14th May 2019 9:01pm
Forum: General
Topic: Making a Class Based on a TableView
Replies: 7
Views: 8519

Making a Class Based on a TableView

I am new to Gambas, coming from Xojo, and trying to come to terms with making a new class based on a TableView. I am missing something, probably quite simple. I've created a class called SearchBox. I have put in the line Inherits TableView . I've added a SearchBox to the main form and it looks like ...