Search found 32 matches

by issboss
Sunday 8th December 2019 9:20pm
Forum: General
Topic: How to display a round object?
Replies: 15
Views: 16405

Re: How to display a round object?

Seems as if I've solved the problem from way outside the box (no pun intended). I just made the buttons for the register letters larger than they would have been to include the short marker line and overlay a picture onto the button that covers the four "skirts" of gray nicely. Are any of ...
by issboss
Sunday 8th December 2019 8:13pm
Forum: General
Topic: How to display a round object?
Replies: 15
Views: 16405

Re: How to display a round object?

I'm using QT5 and QT5 Extension. I don't see anything about transparent for a picturebox, though. I've been trying all morning to make the four corners (the areas in Gray) transparent, but haven't had any luck. I'm not proficient in Gimp enough to extract the circular switch and leave the rest trans...
by issboss
Sunday 8th December 2019 7:14pm
Forum: General
Topic: How to display a round object?
Replies: 15
Views: 16405

How to display a round object?

I'm creating a control panel and can't seem to find any way to display a round image. The image is one of a rotary switch (with a white dot as an indicator) with small hash marks at the stopping points around the periphery (outside the image). I am using a PictureBox and setting "Picture" ...
by issboss
Thursday 5th December 2019 10:18pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

Re: All my arrays are read-only

I agree completely about Global. Every one of my VB programs had a Global.bas module in it. I also put my Utilities in another and the Communications (if any) in another. It was during the initial translation process I got tangled up in the intricacies of different methods for different languages. I...
by issboss
Thursday 5th December 2019 3:11pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

Re: All my arrays are read-only

:D :D :D This is one of my favorite forums.

Bill
by issboss
Wednesday 4th December 2019 6:05pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

Re: All my arrays are read-only

I read the Wiki several more times before I tumbled onto Real arrays and changed my definitions to ones like this: Public arrName as New String[intMaxSize] (Where intMaxSize was set at the beginning as an Integer Constant = 4000) They are now performing very well for me--reachable from every module....
by issboss
Tuesday 3rd December 2019 4:46pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

Re: All my arrays are read-only

. . . . The great thing about programming for personal use is that you can please yourself. How right you are, Stevedee. I went over all the switches in the project properties and never once tumbled to the "make controls public". I bet I read it 10 times. What I'm doing is converting a ra...
by issboss
Tuesday 3rd December 2019 12:41am
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

Re: All my arrays are read-only

Ok. I've moved everything into a single Main module. The arrays are STILL read only at runtime. EDIT: (two hours later). I seem to have found the answer. I added a "new" following the "As" and now I can refer to them as both read and write. Now, if I can just figure out how to re...
by issboss
Monday 2nd December 2019 11:23pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17378

All my arrays are read-only

I've been working on a database project and have come across something I can't solve. I have declared (in a separate module) the following: Public arrName[4000] As String In my Main form coding, I can reference this array just fine. The program compiles and runs with no error except when I try to pu...
by issboss
Wednesday 20th November 2019 6:40pm
Forum: General
Topic: Odd Console Warnings
Replies: 5
Views: 5889

Re: Odd Console Warnings

My motto: If it works, don't <mess> with it.

Bill