473,770 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Default values for Stephen Lebans' RTF2 control

I've just started using Stephen Lebans' RTF2 control in a database, linked
to a Memo field, and am finding it extremely useful (incidentally, in
ACC2002 I'm using the class and withevents rather than the ACC97
backward-compatible module).

I do have one question for Stephen or anyone else familiar with the control:
what is the best way to set a default value for new entries? I am interested
in doing so because I would like entries to start of with a consistent font
face and size (not the bold System font it defaults to), and possibly other
characteristics possible with RTF.

Ideally, one day, we'd be able to set such defaults as a property of the
control itself, at the time of form design, but I realize that would require
a lot of additional work in designing the Activex control. Failing that,
what have people done, or what do they suggest doing, to set a default
value?

I see three basic ways of achieving this: setting a default value in the
table design, setting one for the control, and creating code to insert a
value (either in the code behind the form or in the code for the class).

Has anyone set up a database that has default values of this sort?

Thanks,

Bruce Rusk
Nov 12 '05 #1
1 2256
Raptor2000
1 New Member
I do have one question for Stephen or anyone else familiar with the control:
what is the best way to set a default value for new entries?
I am just trying out RTF2. I discovered that if you go to the design view for your access form and double click on the RTF2 control it will bring up a control panel in which you can set the defaults for the fonts.
Mar 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3112
by: Alex | last post by:
The JustiDirect text justification on Stephen LeBans site works well but I cannot get it to work on a sub report. Could anyone tell me if this is possible. Thanks. Alex
0
1533
by: evilhanz | last post by:
I am using Mr. Lebans' RTF2 Control v1.4. I have managed to spell check its contents but it's a terrible kludge. Here's how I do it: 1) Put a textbox on the same form as the RTF control and camouflage it, don't hide it. 2) Trap the keyboard shortcut for spellcheck, usually F7 3) Copy the plain text contents of the RTF control to the textbox and set focus 4) DoCmd.RunCommand acCmdSpelling on the textbox
3
2617
by: Alex Wisnoski | last post by:
I am trying to adapt Lebans' ReportUtilities to export reports (to preserve formatting) from an Access 97 application. I have made the reference to his mde and copied the modules into my db. I have created a custom toolbar with a custom control, "Export to File". In the On Action property (of the export control) I inserted the code "pf.ExportToMSWord rptApplicantReferral" which I had copied from his sample db except for the name of my...
4
2169
by: Karl Roes | last post by:
Hi Stephen, Very Cool. I can only get it working on the first row of a continuous form. Is this correct? Regards Karl
3
3309
by: Phil Stanton | last post by:
I am trying to produce a program that will output any Access report to an editable Word document. So far it is working well but slowly with text boxes, labels, and lines. I now need to try to output one of Stephen Lebans' RTF2 controls on the report. He indicates that a copy and paste method will work from a form to the Word doc and that is fine although I have not done this in VB, rather used ^C and ^V I suspect that a similar method...
6
2875
by: Sharper | last post by:
I have just downloaded lebans rtf2 which initially looks very interesting. Having a little trouble though in getting the RTF2 toolbar to appear on my own db although it is on the sample. I have imported the modules correctly (i think) and am able to create a RTF2 object from form design mode>active x , but cant find the toolbar. Secondly, is it possible to import text into an RTF2 memo field from say word or excel using GET EXTERNAL...
2
2476
by: engine996 | last post by:
I have notice one problem with it. 1) the aligment tools are not working (toolbar) maybe it's because i use the Canadien French version of Access ? Therefore the context menu is working very well.
0
1344
by: Arno R | last post by:
Hi all, I am using/testing the RTF2 Control from Steven Lebans (A2K RTF2 Sample Release 5-5) I would like to only *show* the contents of the control on some screens. So I would like to disable the possibility of editing the text, and I can't find a solution. Setting the control's property to enabled = False and/or locked = true does not work. Even putting the control in a subform and making the sub disabled does not work. Users can...
1
2449
by: Bob Alston | last post by:
Lebans RTF2 Active X control - How to load contents from DOC or RTF file at run time???? Bob
0
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.