Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020

    Problem with RichText Object

    Hi,

    Is anyone facing the same problem?

    I have 3 objects on a page:
    1. Button
    2. Image
    3. Richtext ( properties set on "transparent" background )

    When I click the button, the Richtext Object is suppose to appear on the Image Object immediately. But the text characters didn't appear immediately. Instead, the text characters only appeared after I highlight every single one of them with my mouse.

    This doesn't happen when the RichText Object properties was set to "solid" background.

    All advise and recommendations are greatly appreciated.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  2. #2
    Join Date
    May 2006
    Posts
    1,443
    it is a redraw problem

    i could not try it at this time but
    maybe Page.Redraw(); may help you

    it is a big trouble spot while developing object plugins

  3. #3
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Hi Reteset,

    Thank you for your input. Maybe we can attract the attention of IR.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  4. #4
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Hi,

    The redraw issue is causing me much headaches. Page.Redraw() function didn't help much.

    Now I had to use text on jpegs instead of Richtext for my presentation apps.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  5. #5
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Here is my suggestion: Replace the RichText with a Web Object. Then you will still be able to format your text (and create text dinamically instead of using ready-made images), and emulate a transparent background for the object.

    I made a small quick-and-dirty proof of concept of my idea. Please see the project I attached below. To test it, first run/preview it without changing anything. Then move the Web Object to a new position, but do not resize it! Then run/preview the project again. It shouldn't matter where you place the Web Object on the page, the background should blend correctly with the background of the application, making it virtually impossible to detect the boundaries of the object.

    This of course could be enhanced further to ease the use, with some functions. Keep in mind that if you resize the Web Object, you will have to create a new corresponding mask. Have a look and tell me what you think.

    Ulrich
    Attached Files

  6. #6
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Hi Ulrich,

    Vielen Dank.

    Fantastic example. This is a great idea for some other projects I'm doing.

    The one I'm doing pop-ups info windows when a user clicks one button from several presented to him.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  7. #7
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Hi,
    I wanted to suggest you to move your RTF object 1 pixel and move it back, but as I was testing this idea, I saw that on my machine, I had no problem at all.
    Therefore, although the above solution could work, it must be something to do with your computer (refresh rate maybe, clash with OS...I don't know...)

    Good luck
    Yossi

  8. #8
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    There are several different versions of the rich text control in the field (distributed with different versions of Windows, and with different software, etc.), and they have varying capabilities. Some have bugs.

    This is entirely dependent on the state of your particular operating system install, so this may or may not have something to do with what you are seeing.
    --[[ Indigo Rose Software Developer ]]

  9. #9
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Lorne, Yosik,

    Thank you for the advise.

    When I bumped into a development issue, the usual suspects are my scripts, my scripts and my scripts.

    Obviously, I've ignored some of these aspects you guys mentioned. Let me check them out and come back again.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

Similar Threads

  1. PROBLEM: Invalid State Error with the Media Player Object
    By Desmond in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-31-2003, 11:16 AM
  2. Web Browser Object Problem
    By Merlin1102 in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 10-31-2002, 05:44 AM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts