Search:
Type: Posts; User: Elroy
Search:
Search took 0.69 seconds; generated 34 minute(s) ago.
-
I do it fairly often, but typically only when I want a "Let" with the same name. If it's a stand-alone, I'll just use a function (as it's pretty much the same thing at that point).
--------------...
-
I'll give it a go. :) ...and start reading his threads again.
-
Yeah, I played around with using "Optional" to pass the values (and not using Me.Width, Me.Height, because those are already resized). But that's just an added complication. I was willing to go...
-
Ok, after more testing, it's clear that VB6 is doing some very bizarre resizing things with MDI-Child forms. To make this resizer logic work with them would require jumping through some hoops I'm...
-
Ok, you're right if you've got more than 24 degrees. But Int(Your_TimeSerial) is not the degrees. It's just how many multiples of 24 degrees you have, which relates to nothing related to trig or...
-
I thought about that too. But done that way, you don't wind up with a floating-point number that you can stick into the trig functions. The return of TimeSerial (cast to a double) is always...
-
Yeah, I thought about that. It would stay with integer math that way (and be faster for + and -). But, I figured it'd ultimately involve some trig, and calling any of those functions would take...
-
I've had this Surface that lives on my spot at the breakfast table for a few years now. It's got an i5 8259U 8-core, running at 1.6GHz. For reading the news and replying to VBForums posts while I...
-
If I had a way to capture the design time values (at any point), my problem would be solved.
-
My problem is very specifically: When an MDI_Child form loads on an MDI_Parent form, the MDI_Child's width & height get changed from the design-time values. And, this seems to happen before the VB6...
-
I'm not sure your question is terribly language specific. It seems to be more about understanding surveying-type measurements and floating point numbers in any modern language. Also, there needs to...
-
Ok, SamOscarBrown is one of the nicest guys on here, and I suspect a great many of us agree.
elRuffsta, when I start feeling picked on, I just take a deep breath, and realize that probably >90% of...
-
I hardly ever use MDI forms, but I'm trying to make my control resizer class work with them. However, forget that class. That's not the problem.
So, VB6 just takes liberties with the sizing...
-
Typically, when I'm in these situations, if it's a file that comfortably fits into memory, I just read the whole file and process it within memory, probably using the Split() function. Or, as an...
-
Hi zx81sp,
Yeah, I thought about MDI forms. However, since I virtually never use them (not even for the IDE's windows), I didn't do any testing with them.
But, when I get some time, I'll test...
-
Yokesee, sorry but I'm not going to be able to debug third-party controls like this. And, the way you describe it, it sounds like it's a problem with those controls. I'm not sure what "update...
-
Ahhh, I do almost zero form design in the VBA. And the little I have done was years ago. And I didn't use any control arrays even when I did.
However, I did once write some code to make...
-
Is it possible for you to post this FRM (and FRX) file so I can see what's going on here?
-
Wait, the whole idea of control arrays is just to cut down on the events. They still each get a complete set of properties, individual to each control. If you want to move them all, you must do a...
-
Control Arrays at Runtime.
That's a kludge, but it does come pretty close to creating control arrays (with events) from scratch at runtime. I'm not sure I'd use it though. It's just too easy...
-
Ohhh, I didn't think of that. I've also got a problem with the included "helper" procedures. I'll get an update out here soon.
-
Updates:
March 21, 2024:
* Fixed problem with minimizing & maximizing.
* Replaced collections with arrays, and fixed all the "Helper" functions.
March 20, 2024:
* Initial release.
Notice:...
-
That's precisely the conclusion I came to. I decided to just let the UC creator worry about this. I might give them some "sample" code to do it, but that's it.
-
Here's the class I attach to a SSTab control anytime I use it. I tend to name it cls_Gen_FixTabCtl, but that's your choice.
Just declare it, and call it in both Form_Load and Form_Activate.
...
-
Ok, the reason I wanted this was, I'm making an auto-Resizer class that works with forms. It's working quite well, and I hope to post it to the CodeBank today, after I make a couple more...
-
And, IMHO, the tiff over PictureBox vs Frame is just silly. Yeah, the PictureBox has some nice drawing methods, and the Frame has a nice built-in border with a border caption. However, I'd give...
-
Are you sure the PictureBox is actually ON the tab? It sounds like it's just on the form in the same position as the SSTab.
I use SSTab extensively, and I've never seen this problem.
The Fix: ...
-
-
Gemini:
Your text is just weird, and needs to be massaged to work correctly.
-
.
More typical text:
190818
-
Ok, that's very weird text:
190817
Lines are terminated ONLY by a vbCR. In Windows environments, they're typically terminated by a vbCr & vbLf (aka, vbCrLf). In Unix/Linux environments, lines...
-
Basically, I'm trying to pass a UserControl (UC) to another class, and have that second class be able to do three things with it:
Get the UC's Width and Height (as it sits on the Form, or maybe...
-
Are you trying to go to the beginning of a "wrapped text" textbox, or are you trying to go to the beginning of line "when your lines are terminated with vbLF"?
If you're trying to go to the...
-
Or here, this moves it to the beginning of the current line.
Option Explicit
Private Sub Form_Click()
Me.Text1.SelLength = 0
Me.Text1.SelStart = InStrRev(Me.Text1.Text, vbLf,...
-
Ummm, sure, we can do anything with API calls, but what's wrong with:
Option Explicit
Private Sub Form_Click()
Me.Text1.SelStart = 0
Me.Text1.SelLength = 0
End Sub
-
-
I've decided to do all of this another way. I've already got it up and running, and filed this code away in an "Archived-Not-Useful" folder.
-
I think you're getting some conflict between the registered version of the OCX, and the manifest when it's being used.
Truth be told, when these OCX files are registered (if they are), they should...
-
Ok, before I get too carried away doing tests, vbrad, the sub-folder I used is always named "Dependencies".
So, try changing the following line from your manifest file from:
to:
-
Ahhh, I do place my OCX (and ActiveX DLL) files within a sub-folder. I guess maybe I once knew they'd auto-register but have forgotten it.
I'm at my desk now, and will take a look at the OP.
|
Click Here to Expand Forum to Full Width
|