Page 1 of 1 1
Topic Options
#120013 - 2004-05-24 11:20 AM RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
I'm writing a program which leads users from known problemdescriptions to predefined solutions or gives users the possibility to enter a problem description and enter it automatically in out heldesk system (Assyst). I'm using KiXforms 2.3.0.44 and the RichTextBox function to load .rtf files with information, but the current RichTextBox function is a bit limited in its functionality.

Here's the question: is it possible to use a Word (or other) COM object to load the .rtf files with full layout functionality ad were it part of the KiXforms GUI? Does anybody have a piece of sample code?
_________________________
Kind regards,

Top
#120014 - 2004-05-24 12:08 PM Re: RTF/Word object in KiXforms 2.3.0.44
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not possible.
_________________________
!

download KiXnet

Top
#120015 - 2004-05-24 12:23 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Pity. Then i have to wait till Shawn adds functionality to the RichTextBox...
_________________________
Kind regards,

Top
#120016 - 2004-05-24 12:31 PM Re: RTF/Word object in KiXforms 2.3.0.44
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what type of functionality you are missing?
the last time I talked with shawn about this, he said he will never add full support.
_________________________
!

download KiXnet

Top
#120017 - 2004-05-24 12:34 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
I was looking for:
- more than one level indenting.
- some basic graphics (see the first message, it is meant to lead users to a possible solution and some graphics could clear things up).

Basically: to be able to do a bit more with the text in the RichTextBox.
_________________________
Kind regards,

Top
#120018 - 2004-05-24 12:47 PM Re: RTF/Word object in KiXforms 2.3.0.44
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
graphics...
oohlalaa.
you can either wait a year or skip that idea.
_________________________
!

download KiXnet

Top
#120019 - 2004-05-24 01:34 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
If we asked Shawn very very nice he maybe think (only think) about it Ah, i could give it a try, no ?
_________________________
Kind regards,

Top
#120020 - 2004-05-24 01:55 PM Re: RTF/Word object in KiXforms 2.3.0.44
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep, you could.
I've seen him applying things that I asked nicely about 1-2 years ago (like, treeview) recently.
so, indeed, if you others ask, it seems to get implemented little faster
_________________________
!

download KiXnet

Top
#120021 - 2004-05-24 02:05 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Lets wait & see if he reacts on this (haven't seen him around yet).
_________________________
Kind regards,

Top
#120022 - 2004-05-24 02:19 PM Re: RTF/Word object in KiXforms 2.3.0.44
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
me waiting him too with yet another combobox thingie
_________________________
!

download KiXnet

Top
#120023 - 2004-05-24 02:59 PM Re: RTF/Word object in KiXforms 2.3.0.44
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
RTF bitmaps and indents ... let me work on this right after I get the TreeView OnBeforeXXX eventing working ... I would like to see bitmaps and indents too.

-Shawn

Top
#120024 - 2004-05-24 03:33 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
You're great master
_________________________
Kind regards,

Top
#120025 - 2004-05-24 06:29 PM Re: RTF/Word object in KiXforms 2.3.0.44
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ok, wasn't quite as straight-forward to implement bitmaps in RichTextBox as I thought, but give the latest Development Build a try and let me know what you think ... wonder if you will see/like the "power" that gets exposed by default.
Top
#120026 - 2004-05-24 06:33 PM Re: RTF/Word object in KiXforms 2.3.0.44
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
btw - this will allow you to load an RTF that has a bitmap in it ... does not allow you to poke a bitmap into it via the script ! That will come later on ... can't say how long that would take at the moment (but would like to roll this feature into the tiny KixML markup language
Top
#120027 - 2004-05-25 08:41 AM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Are you talking about dev.build 45?
_________________________
Kind regards,

Top
#120028 - 2004-05-25 09:00 AM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Shawn,

Just testen build 45 and images in .rtf files are displayed! Thankz! I'm wondering about one thing tough... Is there a reason that a vertical scrollbar is displayed if needed, but no horizontal one if the image is wider than the RichTextBox allows?

Another problem i have with this build 45 (and not with 44) is:
- Label.BorderStyle=5 was sunken (not anymore)
- Label.Icon=number is no longer supported ?
- Label.Picture=string is no longer supported ?

Please check tour mailbox for some sample images..


Edited by Schuliebug (2004-05-25 01:24 PM)
_________________________
Kind regards,

Top
#120029 - 2004-05-26 03:11 PM Re: RTF/Word object in KiXforms 2.3.0.44
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Quick answer to the ScrollBar thingy, by default - the RichTextBox has WordWrap turned on ... turn off WordWrap to get horizontal scrolling.
Top
#120030 - 2004-05-26 03:27 PM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
That should do the trick, but what happens when using long lines..... I assumed some sort of wordwrap method in RichTextBox, and i love it. But when using images wider than the available width, the RichTextBox should still wordwrap and show a horizontal scrollbar.
_________________________
Kind regards,

Top
#120031 - 2004-05-26 05:43 PM Re: RTF/Word object in KiXforms 2.3.0.44
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ja, I see what your talking about ... not sure what I can do about it in the short-term, will take much investigation ...
Top
#120032 - 2004-05-27 09:43 AM Re: RTF/Word object in KiXforms 2.3.0.44
Schuliebug Offline
Hey THIS is FUN
*****

Registered: 2002-01-18
Posts: 379
Loc: Netherlands
Shawn,

Just converted all of our scripts to 2.3.0.44, wich is a lot more functionality compared to 2.2.0. I will work with that one for our business scripts, but will continue to test with the latest beta as soon as new version will become available. Just keep up the good work !
_________________________
Kind regards,

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 978 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.077 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org