Detect end of drag in listbox

[quote=124680:@Richard Summers]Michel - my statement you quoted was in response to Tim’s post (not yours) :slight_smile:
I will add a Window menu (but it will be empty??)[/quote]

If you don’t quote, that’s what you get :wink: … Teasing :wink:

Do not leave the menu empty. If you have only one window, put it as the sole option. If you have several windows, put them all there. Think not about the reviewer as an hostile, but as the last beta tester before the actual user. You want your user to feel comfortable with your software. Providing a window menu to navigate is a courteous gesture.

So basically I should have menu items which open other windows in my app.
Will try that.

Thanks.

Hi Michel

[quote=124602:@Michel Bujardet]
1 - In the lbHeating Listbox of the winWave window entitled “Wave”, add several steps with temperature and time
2 - Drag a step up the list, for instance take 7 at 300 degrees for 5 minutes, under 1
3 - After the drag, the first column reads from top to bottom 1,7,2,3,4,5,6

Now if I understand right, you want to keep the steps in the new order, so the rows must stay where they are, but you want column zero to read 1,2,3,4,6,7. Is it the result you want ? Have I understood right ?[/quote]
Yes.

[quote=124602:@Michel Bujardet]Just a few remarks. Please do not take them personally, they are just the result of trying to use your app, but could improve it with very little effort.Sure, your “close” icon is cute, but it is really not ergonomic. Why have you removed the close button, and deprived the user of his standard interface ?
With the same concern, the standard keyboard shortcut to close a window under Mac OS X is CMD-W and Windows Ctrl-W. Why not implement that very simple command ? Never forget that users have been accustomed to use that for dozens of years in standard applications and really resent being greeted by a beep instead.
Do not forget to add File, Edit and Window menus for Mac users, if you want to have any chance ever to sell your app in the Mac App Store. I understand in Windows it looks redundant, since the toolbar is here, but on Mac, the menu is not on the window. And is required by the Human Interface Guidelines.[/quote]

You’re right about the ‘close’ button. For more keyboard shortcuts, I see a lot of end-user in my job, and can use the keyboard to close an application or window. For menus I purposely deleted, I use a Mac, an application that is on the screen (24-27 ") in the bottom right and duty reassembled on the other side with the mouse to click a menu will , bothers me deeply. Application will not be on the AppStore it is bound to the hardware.
Pour finir cette version est surtout un test, je pense transférer le contenu de la fenêtre winWave sur winMain.

thank you
olivier

If what you want is to sort only the first visible column, here is the code I use in a 100 ms single mode timer I launch in lieu of your msgbox, at the same line.

dim sortarray(-1) as string dim msg as string for i as integer = 0 to lbHeating.listcount-1 sortarray.Append(lbHeating.cell(i,1)) next sortarray.sort for i as integer = 0 to lbHeating.listcount-1 lbHeating.cell(i,1) = sortarray(i) next lbHeating.refresh

Hope this helps.

[quote=124810:@Olivier Gossuin]Application will not be on the AppStore it is bound to the hardware.
Pour finir cette version est surtout un test, je pense transférer le contenu de la fenêtre winWave sur winMain.[/quote]

If the app does not go to the App Store indeed you do not need to have the menus.

And I think you are right. The user should be presented immediately with what appears now on winWave, as it seems to be where he will set the process. Maybe you do not need to transfer the content, but simply to set winWave as default window in App, and add a button to go to winMenu for settings. I tried setting winWave as default, it seems to work fine.