Thread: [Fxruby-users] Listview control
Status: Inactive
Brought to you by:
lyle
From: Carl Y. <ca...@yo...> - 2003-12-15 01:39:42
Attachments:
smime.p7s
|
Hello, I'm trying to create a control like this: http://fox-toolkit.org/screenshots/ss2.png Is there a built-in class for this type of control or must I do some modifications to the FXHeader class. The FXHeader example on the FXRuby web site doesn't give you a unified list that highlights all the way across the view. Each column gets highlighted separately. Thanks for your time. Carl Youngblood |
From: Sander J. <sa...@kn...> - 2003-12-15 01:42:30
|
You're looking for FXIconList which has a detailed mode, that exactly looks like the one in the screenshot. Sander On Sunday 14 December 2003 07:39 pm, Carl Youngblood wrote: > Hello, > > I'm trying to create a control like this: > > http://fox-toolkit.org/screenshots/ss2.png > > Is there a built-in class for this type of control or must I do some > modifications to the FXHeader class. The FXHeader example on the FXRuby > web site doesn't give you a unified list that highlights all the way > across the view. Each column gets highlighted separately. > > Thanks for your time. > > Carl Youngblood -- "I've had a wonderful time, but this wasn't it." - Groucho Marx (1895-1977) |
From: Carl Y. <ca...@yo...> - 2003-12-15 01:46:06
Attachments:
smime.p7s
|
Thanks. The reason I shied away from FXIconList was that it said that it could be toggled between three different viewing modes. As long as I can keep the user from toggling into the other two modes this sounds like it will work fine. Is this the case? Thanks, Carl Sander Jansen wrote: >You're looking for FXIconList which has a detailed mode, that exactly looks >like the one in the screenshot. > > Sander > >On Sunday 14 December 2003 07:39 pm, Carl Youngblood wrote: > > >>Hello, >> >>I'm trying to create a control like this: >> >>http://fox-toolkit.org/screenshots/ss2.png >> >>Is there a built-in class for this type of control or must I do some >>modifications to the FXHeader class. The FXHeader example on the FXRuby >>web site doesn't give you a unified list that highlights all the way >>across the view. Each column gets highlighted separately. >> >>Thanks for your time. >> >>Carl Youngblood >> >> > > > |
From: Sander J. <sa...@kn...> - 2003-12-15 01:53:28
|
Yes... unless you make a control somewhere, the user can never switch the view mode by himself. Sander On Sunday 14 December 2003 07:45 pm, Carl Youngblood wrote: > Thanks. The reason I shied away from FXIconList was that it said that > it could be toggled between three different viewing modes. As long as > I can keep the user from toggling into the other two modes this sounds > like it will work fine. Is this the case? > > Thanks, > Carl > > Sander Jansen wrote: > >You're looking for FXIconList which has a detailed mode, that exactly > > looks like the one in the screenshot. > > > > Sander > > > >On Sunday 14 December 2003 07:39 pm, Carl Youngblood wrote: > >>Hello, > >> > >>I'm trying to create a control like this: > >> > >>http://fox-toolkit.org/screenshots/ss2.png > >> > >>Is there a built-in class for this type of control or must I do some > >>modifications to the FXHeader class. The FXHeader example on the FXRuby > >>web site doesn't give you a unified list that highlights all the way > >>across the view. Each column gets highlighted separately. > >> > >>Thanks for your time. > >> > >>Carl Youngblood -- "I've had a wonderful time, but this wasn't it." - Groucho Marx (1895-1977) |
From: Carl Y. <ca...@yo...> - 2003-12-15 02:23:47
Attachments:
smime.p7s
|
Is there a shortcut for inserting at the end of an iconlist, such as iconlist.insertItem(END, "Text to insert") ? Thanks, Carl Sander Jansen wrote: >Yes... unless you make a control somewhere, the user can never switch the >view mode by himself. > > Sander > >On Sunday 14 December 2003 07:45 pm, Carl Youngblood wrote: > > >>Thanks. The reason I shied away from FXIconList was that it said that >>it could be toggled between three different viewing modes. As long as >>I can keep the user from toggling into the other two modes this sounds >>like it will work fine. Is this the case? >> >>Thanks, >>Carl >> >>Sander Jansen wrote: >> >> >>>You're looking for FXIconList which has a detailed mode, that exactly >>>looks like the one in the screenshot. >>> >>> Sander >>> >>>On Sunday 14 December 2003 07:39 pm, Carl Youngblood wrote: >>> >>> >>>>Hello, >>>> >>>>I'm trying to create a control like this: >>>> >>>>http://fox-toolkit.org/screenshots/ss2.png >>>> >>>>Is there a built-in class for this type of control or must I do some >>>>modifications to the FXHeader class. The FXHeader example on the FXRuby >>>>web site doesn't give you a unified list that highlights all the way >>>>across the view. Each column gets highlighted separately. >>>> >>>>Thanks for your time. >>>> >>>>Carl Youngblood >>>> >>>> > > > |
From: Carl Y. <ca...@yo...> - 2003-12-15 02:42:56
Attachments:
smime.p7s
|
Never mind. I guess I need to call appendItem to add to the end of the list. But I'm still a little confused by setItemData. It takes two parameters, index and data. What does data contain and how do I set the values of multiply columns? Thanks, Carl Carl Youngblood wrote: > Is there a shortcut for inserting at the end of an iconlist, such as > > iconlist.insertItem(END, "Text to insert") > > ? > > Thanks, > Carl > > Sander Jansen wrote: > >> Yes... unless you make a control somewhere, the user can never >> switch the view mode by himself. >> >> Sander >> >> On Sunday 14 December 2003 07:45 pm, Carl Youngblood wrote: >> >> >>> Thanks. The reason I shied away from FXIconList was that it said that >>> it could be toggled between three different viewing modes. As long as >>> I can keep the user from toggling into the other two modes this sounds >>> like it will work fine. Is this the case? >>> >>> Thanks, >>> Carl >>> >>> Sander Jansen wrote: >>> >>> >>>> You're looking for FXIconList which has a detailed mode, that exactly >>>> looks like the one in the screenshot. >>>> >>>> Sander >>>> >>>> On Sunday 14 December 2003 07:39 pm, Carl Youngblood wrote: >>>> >>>> >>>>> Hello, >>>>> >>>>> I'm trying to create a control like this: >>>>> >>>>> http://fox-toolkit.org/screenshots/ss2.png >>>>> >>>>> Is there a built-in class for this type of control or must I do some >>>>> modifications to the FXHeader class. The FXHeader example on the >>>>> FXRuby >>>>> web site doesn't give you a unified list that highlights all the way >>>>> across the view. Each column gets highlighted separately. >>>>> >>>>> Thanks for your time. >>>>> >>>>> Carl Youngblood >>>>> >>>> >> >> >> |
From: Lyle J. <ly...@kn...> - 2003-12-15 02:43:59
|
On Dec 14, 2003, at 8:23 PM, Carl Youngblood wrote: > Is there a shortcut for inserting at the end of an iconlist, such as > > iconlist.insertItem(END, "Text to insert") A link to the online API documentation might be in order at this point ;) http://www.fxruby.org/doc/api/classes/Fox/FXIconList.html I think the method you're looking for is FXIconList#appendItem. |
From: Lyle J. <ly...@kn...> - 2003-12-15 02:52:02
|
On Dec 14, 2003, at 8:42 PM, Carl Youngblood wrote: > Never mind. I guess I need to call appendItem to add to the end of > the list. But I'm still a little confused by setItemData. It takes > two parameters, index and data. What does data contain and how do I > set the values of multiply columns? You can associate with each icon list item a reference to some other Ruby object. Say for example that every row in the icon list represents a customer, which is represented elsewhere in your application by a Customer object. Then you can make this association while you're creating its icon item, e.g. theCustomer = customerDatabase.getCustomer(...) iconList.appendItem(theCustomer.name, bigIcon, miniIcon, theCustomer) You can change this association later using setItemData(), e.g. iconList.setItemData(itemIndex, someOtherCustomer) I'm not sure I understand the second part of your question ("... how do I set the values of multiple columns?"). Each icon item (i.e. each row in the list) can be displayed with multiple fields when the list is configured in details mode. Those fields are specified as the "text" of the icon item, and each field is separated by tabs. So for example, if you wanted three columns (with the name, address and phone number of the customer) you might do something like: iconList.appendItem("#{theCustomer.name}\t#{theCustomer.address}\t#{theC ustomer.phone}", ...) If this isn't what you were asking about, please let me know. Hope this helps, Lyle |
From: Carl Y. <ca...@yo...> - 2003-12-15 03:06:34
Attachments:
smime.p7s
|
That is exactly what I was looking for. Thanks for your prompt reply. I'm sure I could scour all over the web but I happen to be in a real big hurry, so I appreciate your answering the question in a little bit more detail. Hmm, setItemData... Working with this API reminds me a little bit of my MFC days... Carl Lyle Johnson wrote: > > On Dec 14, 2003, at 8:42 PM, Carl Youngblood wrote: > >> Never mind. I guess I need to call appendItem to add to the end of >> the list. But I'm still a little confused by setItemData. It takes >> two parameters, index and data. What does data contain and how do I >> set the values of multiply columns? > > > You can associate with each icon list item a reference to some other > Ruby object. Say for example that every row in the icon list > represents a customer, which is represented elsewhere in your > application by a Customer object. Then you can make this association > while you're creating its icon item, e.g. > > theCustomer = customerDatabase.getCustomer(...) > iconList.appendItem(theCustomer.name, bigIcon, miniIcon, theCustomer) > > You can change this association later using setItemData(), e.g. > > iconList.setItemData(itemIndex, someOtherCustomer) > > I'm not sure I understand the second part of your question ("... how > do I set the values of multiple columns?"). Each icon item (i.e. each > row in the list) can be displayed with multiple fields when the list > is configured in details mode. Those fields are specified as the > "text" of the icon item, and each field is separated by tabs. So for > example, if you wanted three columns (with the name, address and > phone number of the customer) you might do something like: > > > iconList.appendItem("#{theCustomer.name}\t#{theCustomer.address}\t#{theC > ustomer.phone}", ...) > > If this isn't what you were asking about, please let me know. > > Hope this helps, > > Lyle > > > |
From: Carl Y. <ca...@yo...> - 2003-12-15 03:10:48
Attachments:
smime.p7s
|
> > iconList.appendItem("#{theCustomer.name}\t#{theCustomer.address}\t#{theC > ustomer.phone}", ...) > Is there a way to specify whether a given column in the detail view is left, right or center aligned? Or would this be a feature geared more towards the FXTable class? |
From: Lyle J. <ly...@kn...> - 2003-12-15 03:17:50
|
On Dec 14, 2003, at 9:10 PM, Carl Youngblood wrote: > Is there a way to specify whether a given column in the detail view is > left, right or center aligned? Or would this be a feature geared more > towards the FXTable class? I think that you'll need to have to go to the FXTable to get this kind of control over the individual columns' text alignment. I don't see anything right offhand that lets you specify the individual columns' alignment for the icon list items. |
From: Sander J. <sa...@kn...> - 2003-12-15 04:06:05
|
No, Unless its absolutely necessary for your application to have things aligned right/center/left use the FXTable class, but I would advise against using that. FXIconList is much easier to work with and works for most cases. Also FXTable is still under construction and things like selecting whole rows you to implement yourself in callbacks from the table. Sander On Sunday 14 December 2003 09:10 pm, Carl Youngblood wrote: > > iconList.appendItem("#{theCustomer.name}\t#{theCustomer.address}\t#{theC > > ustomer.phone}", ...) > > Is there a way to specify whether a given column in the detail view is > left, right or center aligned? Or would this be a feature geared more > towards the FXTable class? -- "I've had a wonderful time, but this wasn't it." - Groucho Marx (1895-1977) |
From: Carl Y. <ca...@yo...> - 2003-12-15 04:56:02
Attachments:
smime.p7s
|
I'm having a problem getting my application to space things the way I want them. I basically have one horizontal frame that contains everything. Inside that I have left and right vertical frames. The left frame I want to contain an iconlist, and I want it take up most of the space. The right frame will contain a basic list with some buttons below it, and I only need it to be as wide as the widest item in the list. So I want it to be fairly narrow. The following code makes the right and left frames equal size, which scrunches the iconlist and gives way too much room to the right-hand list. However, when I try to remove the LAYOUT_FILL_X options from the right and left frames, the lists occupy the opposite edges and are very narrow, leaving a huge gap of nothing in the middle. I tried leaving the left frame set to LAYOUT_FILL_X and hard-coding the width of the right frame, but it seems to completely ignore my size settings and leave very little room for the right-hand frame. Any ideas? Thanks, Carl Here is the code: ---------------------------- contents = FXHorizontalFrame.new(self, LAYOUT_SIDE_TOP|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 0, 0, 0, 0, 0, 0) leftframe = FXVerticalFrame.new(contents, LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, 0, 0, 0, 0, 0, 0, 0, 0) FXLabel.new(leftpane, "Transactions", nil, LAYOUT_FILL_X) # Transaction view window transframe = FXVerticalFrame.new(leftframe, FRAME_SUNKEN|FRAME_THICK|LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT, 0, 0, 0, 0, 0, 0, 0, 0) FXVerticalSeparator.new(contents, SEPARATOR_RIDGE|LAYOUT_FILL_Y) rightframe = FXVerticalFrame.new(contents, LAYOUT_TOP|LAYOUT_RIGHT, 0, 0, 150, 200, 0, 0, 0, 0) FXLabel.new(rightframe, "Categories", nil, LAYOUT_FILL_X) catlistframe = FXVerticalFrame.new(rightframe, FRAME_SUNKEN|FRAME_THICK|LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, 0, 0, 0, 0, 0, 0, 0, 0) @catlist = FXList.new(catlistframe, 20, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y|LIST_SINGLESELECT) @catlist.appendItem("Text") @translist = FXIconList.new(transframe, nil, 0, LAYOUT_FILL_X|LAYOUT_FILL_Y|ICONLIST_BROWSESELECT) @translist.appendHeader("Date", nil, 75) @translist.appendHeader("Check", nil, 50) @translist.appendHeader("Amount", nil, 75) @translist.appendHeader("Payee", nil, 250) @translist.appendHeader("Category", nil, 150) @translist.appendHeader("Result", nil, 150) |
From: Sander J. <sa...@kn...> - 2003-12-15 05:37:27
|
What you probably want: Left Frame - needs to take up as much space as possible - > LAYOUT_FILL_X|LAYOUT_FILL_Y Right Frame - Only needs to take up space that it requires, though we want to take as much height as there is -> LAYOUT_FILL_Y Now... the size of the right frame is determined by its contents. If you don't put anything in there the width will be 1. So make sure if you test it, you put something in there (like a button for example). If you really insist on having a fixed width (bad practice, fonts may change size and some things won't fit anymore), you have to pass the LAYOUT_FIX_WIDTH or LAYOUT_FIX_HEIGHT and pass the required size in the constructor of the widget (or later using setWidth or setHeight). Note, you can leave the LAYOUT_TOP and LAYOUT_LEFT since they don't influence anything here. Also read the documentation on layout managers: http://www.fox-toolkit.org/layout.html Hope this helps, Sander On Sunday 14 December 2003 10:55 pm, Carl Youngblood wrote: > I'm having a problem getting my application to space things the way I > want them. I basically have one horizontal frame that contains > everything. Inside that I have left and right vertical frames. The > left frame I want to contain an iconlist, and I want it take up most of > the space. The right frame will contain a basic list with some buttons > below it, and I only need it to be as wide as the widest item in the > list. So I want it to be fairly narrow. The following code makes the > right and left frames equal size, which scrunches the iconlist and gives > way too much room to the right-hand list. However, when I try to remove > the LAYOUT_FILL_X options from the right and left frames, the lists > occupy the opposite edges and are very narrow, leaving a huge gap of > nothing in the middle. > > I tried leaving the left frame set to LAYOUT_FILL_X and hard-coding the > width of the right frame, but it seems to completely ignore my size > settings and leave very little room for the right-hand frame. Any ideas? > > Thanks, > Carl > > Here is the code: > ---------------------------- > > contents = FXHorizontalFrame.new(self, > LAYOUT_SIDE_TOP|LAYOUT_FILL_X|LAYOUT_FILL_Y, > 0, 0, 0, 0, 0, 0, 0, 0) > > leftframe = FXVerticalFrame.new(contents, > LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, > 0, 0, 0, 0, 0, 0, 0, 0) > FXLabel.new(leftpane, "Transactions", nil, LAYOUT_FILL_X) > > # Transaction view window > transframe = FXVerticalFrame.new(leftframe, > > FRAME_SUNKEN|FRAME_THICK|LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT >, 0, 0, 0, 0, 0, 0, 0, 0) > > FXVerticalSeparator.new(contents, SEPARATOR_RIDGE|LAYOUT_FILL_Y) > > rightframe = FXVerticalFrame.new(contents, > LAYOUT_TOP|LAYOUT_RIGHT, > 0, 0, 150, 200, 0, 0, 0, 0) > FXLabel.new(rightframe, "Categories", nil, LAYOUT_FILL_X) > > catlistframe = FXVerticalFrame.new(rightframe, > FRAME_SUNKEN|FRAME_THICK|LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, > 0, 0, 0, 0, 0, 0, 0, 0) > > @catlist = FXList.new(catlistframe, 20, nil, 0, > LAYOUT_FILL_X|LAYOUT_FILL_Y|LIST_SINGLESELECT) > @catlist.appendItem("Text") > > @translist = FXIconList.new(transframe, nil, 0, > LAYOUT_FILL_X|LAYOUT_FILL_Y|ICONLIST_BROWSESELECT) > @translist.appendHeader("Date", nil, 75) > @translist.appendHeader("Check", nil, 50) > @translist.appendHeader("Amount", nil, 75) > @translist.appendHeader("Payee", nil, 250) > @translist.appendHeader("Category", nil, 150) > @translist.appendHeader("Result", nil, 150) -- "I've had a wonderful time, but this wasn't it." - Groucho Marx (1895-1977) |
From: Carl Y. <ca...@yo...> - 2003-12-15 06:04:05
Attachments:
smime.p7s
|
>What you probably want: > >Left Frame - needs to take up as much space as possible - > >LAYOUT_FILL_X|LAYOUT_FILL_Y > >Right Frame - Only needs to take up space that it requires, though we want to >take as much height as there is -> LAYOUT_FILL_Y > >Now... the size of the right frame is determined by its contents. If you don't >put anything in there the width will be 1. So make sure if you test it, you >put something in there (like a button for example). > > > I tested it with another frame inside the right frame, which had a list control inside of it. Does this count? Thanks for the info. Carl |
From: Sander J. <sx...@cf...> - 2003-12-15 14:49:45
|
Probably not since Scrollframes (like a iconlist) have a default width of= 1. =09Sander On Monday 15 December 2003 12:04 am, Carl Youngblood wrote: > >What you probably want: > > > >Left Frame - needs to take up as much space as possible - > > >LAYOUT_FILL_X|LAYOUT_FILL_Y > > > >Right Frame - Only needs to take up space that it requires, though we = want > > to take as much height as there is -> LAYOUT_FILL_Y > > > >Now... the size of the right frame is determined by its contents. If y= ou > > don't put anything in there the width will be 1. So make sure if you = test > > it, you put something in there (like a button for example). > > I tested it with another frame inside the right frame, which had a list > control inside of it. Does this count? > > Thanks for the info. > > Carl |
From: Carl Y. <ca...@yo...> - 2003-12-16 18:28:18
Attachments:
smime.p7s
|
I'm trying to display a progress dialog after the user clicks a button. In my onClick method for my application, I have the following code: FXProgressDialog.new(self, "Bayesian Inference Progress", "Learning Bayesian network", PROGRESSDIALOG_NOCANCEL) do |prog| prog.total = @transactions.size - total_categorized + 120 prog.progress = 0 # stuff ... prog.progress += 10 # more stuff ... prog.progress += 10 # etc. etc. end When I click on the button, the code gets executed but I never see the progress dialog. What am I doing wrong? Thanks, Carl Youngblood |
From: Lyle J. <jl...@cf...> - 2003-12-16 20:06:07
|
Carl Youngblood wrote: > I'm trying to display a progress dialog after the user clicks a button. > In my onClick method for my application, I have the following code: > > FXProgressDialog.new(self, > "Bayesian Inference Progress", > "Learning Bayesian network", > PROGRESSDIALOG_NOCANCEL) do |prog| > prog.total = @transactions.size - total_categorized + 120 > prog.progress = 0 > # stuff ... > prog.progress += 10 > # more stuff ... > prog.progress += 10 > # etc. etc. > end > > When I click on the button, the code gets executed but I never see the > progress dialog. What am I doing wrong? Well, never calling show() on the dialog box is a problem ;) See what happens if you add the line: prog.show as the first line of the block. Also I guess a call to prog.hide at the end. |
From: Carl Y. <ca...@yo...> - 2003-12-17 00:20:51
Attachments:
smime.p7s
|
Actually, even though I hadn't shown that in the code I sent to you, I had tried that (calling prog.show after instantiating it) and it still doesn't work. Thanks, Carl Lyle Johnson wrote: > Well, never calling show() on the dialog box is a problem ;) > > See what happens if you add the line: > > prog.show > > as the first line of the block. Also I guess a call to prog.hide at > the end. |
From: Lyle J. <jl...@cf...> - 2003-12-17 15:51:44
|
Carl Youngblood wrote: > Actually, even though I hadn't shown that in the code I sent to you, I > had tried that (calling prog.show after instantiating it) and it still > doesn't work. Ah, my bad. What I should have said was add these *two* lines at the beginning of the block: prog.create prog.show Let's see if that does it! |
From: Carl Y. <ca...@yo...> - 2003-12-17 16:04:09
Attachments:
smime.p7s
|
It worked! Except it just appears plain white with no normal window style and a piechart with a percentage. Is there a quick way to get a more conventional progress dialog? I want a modal dialog box with a title, some text below it, and a horizontal bar that moves from left to right. Thanks, Carl Lyle Johnson wrote: > Carl Youngblood wrote: > >> Actually, even though I hadn't shown that in the code I sent to you, >> I had tried that (calling prog.show after instantiating it) and it >> still doesn't work. > > > Ah, my bad. What I should have said was add these *two* lines at the > beginning of the block: > > prog.create > prog.show > > Let's see if that does it! > > > |
From: Carl Y. <ca...@yo...> - 2003-12-17 16:07:08
Attachments:
smime.p7s
|
I spoke too soon. It is plain white because it doesn't have a high refresh priority while my application is chugging away doing it's own work. Is there a way I can give it a higher priority to make sure it gets painted properly before I begin my work? And I also want to change the bar to be horizontal instead of pie shaped. Thanks, Carl Carl Youngblood wrote: > It worked! Except it just appears plain white with no normal window > style and a piechart with a percentage. Is there a quick way to get a > more conventional progress dialog? I want a modal dialog box with a > title, some text below it, and a horizontal bar that moves from left > to right. > > Thanks, > Carl > > Lyle Johnson wrote: > >> Carl Youngblood wrote: >> >>> Actually, even though I hadn't shown that in the code I sent to you, >>> I had tried that (calling prog.show after instantiating it) and it >>> still doesn't work. >> >> >> >> Ah, my bad. What I should have said was add these *two* lines at the >> beginning of the block: >> >> prog.create >> prog.show >> >> Let's see if that does it! >> >> >> |
From: Lyle J. <jl...@cf...> - 2003-12-17 16:30:29
|
Carl Youngblood wrote: > I spoke too soon. It is plain white because it doesn't have a high > refresh priority while my application is chugging away doing it's own > work. Is there a way I can give it a higher priority to make sure it > gets painted properly before I begin my work? You may want to look at this question from this FOX FAQ list: http://www.fox-toolkit.org/faq.html#CLIENTSERVER Hope this helps, Lyle |
From: Carl Y. <ca...@yo...> - 2003-12-17 17:24:58
Attachments:
smime.p7s
|
I tried adding app.flush and app.forcerefresh after I show the progress dialog but nothing seemed to change. I see only the pie chart, since it is being updated, and the rest of the dialog doesn't show up until the operation is over. I figured that maybe I needed to call forcerefresh or flush on the FXProgressDialog itself, but it didn't seem to have these methods. Lyle Johnson wrote: > Carl Youngblood wrote: > >> I spoke too soon. It is plain white because it doesn't have a high >> refresh priority while my application is chugging away doing it's own >> work. Is there a way I can give it a higher priority to make sure it >> gets painted properly before I begin my work? > > > You may want to look at this question from this FOX FAQ list: > > http://www.fox-toolkit.org/faq.html#CLIENTSERVER > > Hope this helps, > > Lyle > > > |
From: Carl Y. <ca...@yo...> - 2003-12-17 17:29:18
Attachments:
smime.p7s
|
I also tried prog.update Thanks for all your help. Carl Carl Youngblood wrote: > I tried adding app.flush and app.forcerefresh after I show the > progress dialog but nothing seemed to change. I see only the pie > chart, since it is being updated, and the rest of the dialog doesn't > show up until the operation is over. I figured that maybe I needed to > call forcerefresh or flush on the FXProgressDialog itself, but it > didn't seem to have these methods. > > Lyle Johnson wrote: > >> Carl Youngblood wrote: >> >>> I spoke too soon. It is plain white because it doesn't have a high >>> refresh priority while my application is chugging away doing it's >>> own work. Is there a way I can give it a higher priority to make >>> sure it gets painted properly before I begin my work? >> >> >> >> You may want to look at this question from this FOX FAQ list: >> >> http://www.fox-toolkit.org/faq.html#CLIENTSERVER >> >> Hope this helps, >> >> Lyle >> >> >> |