Prev: RichTextBox to Outlook Message Body
Next: Running a VB6 program under Windows 7 XP Mode (sorry for x-post)
From: mayayana on 14 Jan 2010 09:40 > > Hmm, that control requires OLE Automation/STDOLE.TLB. Is that going > to cause me any troubles in the future? I'm pretty sure TLBs are > only required during design and compile time and not during runtime. > I think you mean stdole2.tlb? That's referenced in all VB programs. But yes, it's not a problem. And if you look at that in the object browser you'll see it provides references for basic VB ops like LoadPicture. With the bolding... I've never seen that use of Print before. I don't know why he didn't draw the text using API, which one could certainly do. For my own purposes I just used his clever idea for rounding the corners to get a shaded tab look. (Or maybe it wasn't so much clever as observant. When I looked at Windows tabs magnified I could see that the rounded corner and double lined edge is really all that's needed to give a tabbed look.) But I switched the method to basic VB, using Labels and Lines. I haven't lookd at my code for awhile, but I think I just set up a Label array, then have a click event function that resizes labels and moves lines around, so that the selected label ends up "higher" than, and in front of, the rest. It's very simple and primitive, but it works fine. That approach would also allow for easy bolding, since it's just a Label property. > Working very nicely. > > Thank you! > > Tony > -- > Tony Toews, Microsoft Access MVP > Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm > Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/ > For a convenient utility to keep your users FEs and other files > updated see http://www.autofeupdater.com/ > Granite Fleet Manager http://www.granitefleet.com/
From: Tony Toews [MVP] on 15 Jan 2010 16:07 "mayayana" <mayaXXyana(a)rcXXn.com> wrote: >> Hmm, that control requires OLE Automation/STDOLE.TLB. Is that going >> to cause me any troubles in the future? I'm pretty sure TLBs are >> only required during design and compile time and not during runtime. >> > I think you mean stdole2.tlb? T Correct. Thank you for your confirmation and comments. Tony -- Tony Toews, Microsoft Access MVP Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/ For a convenient utility to keep your users FEs and other files updated see http://www.autofeupdater.com/ Granite Fleet Manager http://www.granitefleet.com/
First
|
Prev
|
Pages: 1 2 Prev: RichTextBox to Outlook Message Body Next: Running a VB6 program under Windows 7 XP Mode (sorry for x-post) |