Search:
Type: Posts; User: Nouyana
Search:
Search took 0.05 seconds.
-
Ok, I had to repost my previous screenshot. The top offset is NOT absent here (it is 1px). How could it happen? How can I change this?
https://www.vbforums.com/images/ieimages/2024/03/4.png
...
-
The top gridline offset is now absent with the same code. I don't know why.
Krool, please help me to understand what do theese properties mean:
1. GetGridLineOffsets:
Left = 0
Top = 0 (I...
-
Try to use the undocumented Collect property. It's 20% faster. Works with both - ADO and DAO. Or you may use GetRows getting by 10 rows step by step.
You may don't now what is in the table....
-
I think this is a very unpredictable and memory-intensive function.
1. The first question is why don't you limit the number of rows for calling the SetCellText? You limit cols, but not rows:
...
-
Try to use the FlexDataSource property.
Example
-
Yahoo!!! I've found it!
Yes, this is not true-type font, so I've found it in a notepad...
https://www.vbforums.com/images/ieimages/2024/03/15.png
-
Not in my FontCombo. WinXP SP3 (edition 2021 from here).
https://www.vbforums.com/images/ieimages/2024/03/13.png
Should, but not must. This is a clean WinXP SP2 with MS Office 2002:
...
-
This is "MS Sans Serif". In my system it named "Microsoft Sans Serif".
wikipedia/Microsoft_Sans_Serif
https://www.vbforums.com/images/ieimages/2024/03/11.png
-
The old problem with DEMO-project. Krool didn't fixed it. The solution:
...
-
Krool, can you somehow explain me where is the ClientWidth/Height, NonClientWidth/Height and GridLineOffsets here?
ComboButtonNonClientWidth = 90 (6px)
ComboButtonNonClientHeight = 90 (6px)...
-
Am I understand right that this equality is always correct?
ComboButtonWidth - ComboButtonClientWidth = ComboButtonNonClientWidth = ComboButtonNonClientHeight
-
Krool, can you add an Excel-style return behaviour?
https://www.vbforums.com/images/ieimages/2024/03/2.gif
-
-
1. Use If Linea2 > 0 instead of If Linea2 >= 1
2. Use If Linea mod 1000 = 0 Then DoEvents instead of just DoEvents
3. Use With GR1 for the whole loop
4. TextArray should be faster then TextMatrix...
-
Yes.
No. Maybe Krool can improve it.
-
Yes, you may use the ColWidth property and the TextWidth function in the ComboBeforeDropDown or ComboCloseUp events.
https://www.vbforums.com/images/ieimages/2024/02/15.gif
Edited:
The code...
-
Thank you VanGoghGaming and Zann!
I hope this topic became more usefull. This is the result with Chinese and Russian menus:
UnicodeForVBMenu.zip
-
I didn't know about it. https://www.vbforums.com/images/ieimages/2024/02/11.gifThank you. All works fine now.
The only question is why lParam is 0, not 2? Is it an index of all the PopUp menus?
...
-
Yes, this is more convenient. I didn't know that the Tag property (unlike the Caption) is unicode-avaliable. Thank you.
I'm sorry. I've posted the wrong edition of ISubclass_WndProc.
The...
-
Yes, but you should fill the arrPopupUnicodeCaptions first. So, what is the difference? I always use arrays of controls (incl. menus) because it's easier to handle events by index. The code becomes...
-
We wrote our messages at the same time. Ok, I'll learn it.
-
This is your example
UnicodePopupMenu.zip
But it crashes the IDE. Can you provide a clean and little (as much as possible) example without option buttons? Just for unicode support.
-
Ok. I've created 3 menus using the menu editor. Two of them are visible, and the third one is pop-up:
https://www.vbforums.com/images/ieimages/2024/02/17.png
Then I've set Unicode captions for...
-
Maybe. But I don't need events if I can use the TrackPopupMenu API function. I will try it.
It depends on the complexity of the project. How do you avoid it?
How can I get the hMenu?
-
Great job, Krool! You make things easier!
I don't know why, but I can't unzip your new attachments. did you change the archiver? I use "7-zip" 24.01 (2024-01-31). I had to download files from...
-
Got an error today in the old working code. VBCCR 1.7.0.102
Run-time error '5'
Invalid procedure call or argument.
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
...
-
Looks better. Thank you, Krool.
-
The first reason is Unicode. I don't like subclassing because of IDE crashing. And the second reason is visual styles. I don't know how to implement them.
-
Thank you, VanGoghGaming. And what about usual (non-popup) menus? Do anybody use it? And how can I hide the menu I use as a popup?
-
Can anybody explain me how to use API-menus? I mean how to declare the Click event?
-
Private Sub Form_Load()
Set Me.VBFlexGrid1.DataSource = GetRs("SELECT * FROM tblDataTaye;")
With Me.VBFlexGrid1
.FillStyle = FlexFillStyleRepeat
.Cell(FlexCellChecked,...
-
Here I use the RemoveItem instead of Clear.
Private Sub cmdAddItems_Click()
With VBFlexGrid1
.CellComboCue = FlexComboCueDropDown
.ComboMode = FlexComboModeDropDown
...
-
I don't understand really how it works, but sometimes I can see the drop-down list in both comboboxes and sometimes I can't...
-
Only in the VBCCR ComboBox
Private Sub cmdAddItems_Click()
With VBFlexGrid1
.CellComboCue = FlexComboCueDropDown
.ComboMode = FlexComboModeDropDown
.ComboItems =...
-
Am I understand right that there is no any difference between the FlexAlignmentGeneralCenter and FlexAlignmentGeneral constants?
And, by the way, Krool, may be you didn't know it because it's a...
-
Yes, I can see now that ComboListCount = 0 when ComboItems is set to vbNullString. But what I noticed is an "empty" drop-down list which is still there, unlike the standard controls. Is it by design?...
-
Is it still in your roadmap?
-
I mean you should set it to FtcStyleDropDownCombo
-
Ok. Only two questions left. What is the difference between:
1. FlexWordBreakEndEllipsis and FlexWordBreakWordEllipsis.
2. FlexSingleLineEndEllipsis and FlexSingleLineWordEllipsis
190455
-
|
Click Here to Expand Forum to Full Width
|