User Tag List

Results 1 to 9 of 9

Thread: Listview problem: Text invisible

  1. #1
    Clicker

    Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AWK's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Listview problem: Text invisible

    Hi,

    I'm kinda stuck with this one.
    I'm using the Listview object to show me a list of results after a search-action. This works just fine. If I test it (F8) it all does what it needs to do and I can see everything just fine.
    But then I try to build the application and installer. Still no problem. Installing works with no problems.
    And when I run the installed application it still does everything it needs to do, even filling the list. But the font is invisible (or white?) against the white background of the Listview object.
    I know the list gets filled by looking at the vertical scrollbar. And even clicking on the finished list does exactly what I want. I just can't see what I'm clicking!
    I don't understand what I should do to fix this.
    I tried setting the font to black and the background to white from the properties menu as well as from within the Event Editor. Nothing works!

    Can somebody please give me a hint?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    Post the source MFA in the File Archive.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker

    Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AWK's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    That's going to be a problem. The programm, as a whole, is almost 15 Mb large.

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    Can you upload the mfa somewhere on the internet and post the link here?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    It's probably easier to see if a basic application with a Listview in it has the same behaviour for you (of turning entirely white when run as a stand-alone EXE). If so, it may be that some Windows preference is causing it, though I'm not sure why that would be different inside and outside MMF... I think there is an option not to use theming somewhere in the application properties, but I can't remember what it's actually called offhand.

  6. #6
    Clicker

    Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AWK's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    Okay, I've been working on it for quite some time now.
    I tried to work around the problem by using a normal list object.
    Guess what: the same thing happened here as well.
    And it's not a color problem.
    The list is, when created, saved and can be loaded again.
    And that works!
    I make a list by using F8 in MMF and load it into the installed version of the program. I can see the text! But as soon as I clear the list and make a new one, everything is gone.

    I think the problem is in the Tree control object. I try to do the following:

    GetFullPath$( "Tree Control", Val(Left$(List Line Text$( "List", Alterable Value B( "List" )), Len(List Line Text$( "List", Alterable Value B( "List" )))-4)))

    I even tried using the above code to get the information in an Alterable String and then take the information out to the list, but the same thing happens...

    Or could this be a bug? I hope not, because if this doesn't work, a specific and complex feature in my software won't work.

  7. #7
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    GetFullPath$( "Tree Control", Val(Left$(List Line Text$( "List", Alterable Value B( "List" )), Len(List Line Text$( "List", Alterable Value B( "List" )))-4)))


    ?????

    How about giving your values some names?

    make a clean frame with your objects and put in the events, then just upload that frame so we can help you on your problem.

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    If it's blank text it is most likely loading "" as the text for each line, sometimes when you move an application it doesn't work correctly, you should make any file paths relative or use paths that can be retreived from, say, the registry. Can't you just upload the code and list object and tree object that are causing the problem? I never intended the whole app...
    Working as fast as I can on Fusion 3

  9. #9
    Clicker

    Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AWK's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Listview problem: Text invisible

    I've got it!

    It was so stupid, so simple. I'm almost ashamed to tell, but I found the problem.

    Recently, after getting some complaints from Vista users, I decided to move my data directory from Program files to My documents (all users). I had to change all of my apppath$ codes to AllUsersDocumentsDirectory$( "File" ). I have creating (and keep adding!) a huge program and I'm talking litteraly hundreds of times I had to alter this.
    Appearantly I missed one in the frame I was working on. It tried to load a Tree control information file, but couldn't find it. Since I used that file outside of the visible area of the frame, I didn't see it didn't load anything. In MMF the backup file would be opened, which is in the directory where the MMF file is stored.

    So, problem solved!

    Leads me to a thought for a future version of MMF... Could it be possible to add a search-function for script-parts? That way I could open a frame, go to the Event Editor and click a search-button somewhere. Type: apppath$ and get all scriptparts visible and maybe highlighted. Just a thougt...

    Anyway, thanks for thinking with me!

Similar Threads

  1. listview and sqlite3
    By Blackwolfdave in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th June 2012, 01:33 AM
  2. Best way for a typical ios listview
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 29th February 2012, 05:55 PM
  3. listview
    By nick_Peoples in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th October 2010, 08:11 PM
  4. Listview and loops problem with example. Thanks
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th December 2006, 03:40 PM
  5. Objet listview
    By fbastin in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd December 2006, 01:16 PM

Posting Permissions

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