-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have a TListView and TPopupMenu, and I want to show a context menu when I right click on a TListItem.
I tried the "AutoPopup" by assigning the component, but on a right click the PopupMenu is shown only and the wanted element is not selected. So i tried to use the "OnMouseDown", but we need…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I attempt to count the number of items in a group I get the total number of items in the collection. How do you get the number of items in each group?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an app that loads records from a binary log file and displays them in a virtual TListView. There are potentially millions of records in a file, and the display can be filtered by the user, so I do not load all of the records in memory at one time, and the ListView item indexes are not a 1-to-1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an app that loads records from a binary log file and displays them in a virtual TListView. There are potentially millions of records in a file, and the display can be filtered by the user, so I do not load all of the records in memory at one time, and the ListView item indexes are not a 1-to-1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
When you set the Caption of a TListItem it seems to always set the Text for the first column in the row. When you start typing in the ListView it will search & select the closest match based on the caption of the first column.
I have a situation where I need the caption of the first row…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a GUI which uses a selection from a popupmenu in another callback. Is there a way to return the selected value of the popupmenu in only one line without creating any temporary variables? I've tried several solutions, but I've only managed two lines with one temporary variable:
Three lines:
list=get(handles…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a little popup menu that anchors on a button in the action bar. This works well on 3.0/3.1 Xoom and Galaxy tabs, and a 4.1 Nexus 7.
However, on a 7" Fire HD (this one), I get an error about a leaked intent receiver when exiting the application. The error occurs only if the menu was not opened…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i call popumemu(list of checkboxes in another program) using code like:
PostMessage(Wnd,WM_RBUTTONDOWN,0,0x0);
PostMessage(Wnd,WM_RBUTTONUP,0,0x0);
and i can get the HWND of popupmenu window
how to check(uncheck) item at certain item? without sending code
SendMessage( TMP,WM_KEYDOWN, VK_DOWN…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have a TListView and TPopupMenu, and I want to show a context menu when I right click on a TListItem.
I tried the "AutoPopup" by assigning the component, but on a right click the PopupMenu is shown only and the wanted element is not selected. So i tried to use the "OnMouseDown", but we need…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to create a system that will allow me to respond to the current text and auto-complete/suggest what should come next. For example if the user starts to type "Batm" then the system would respond with a menu showing the full completed word "Batman". Think of an IDE like Eclipse or Visual…
>>> More