Search:
Type: Posts; User: Krool
Search:
Search took 0.65 seconds.
-
Looks good. You may add ".BorderStyle = FlexBorderStyleNone" for completeness.
I tested this and I do NOT see a grey area left "on the right side" as you wrote.. Can you share a picture/demo ?
...
-
Update released.
Bugfix in the Rows/Cols/FixedRows/FixedCols property.
The effect is mostly when having the ScrollBars property set to 0 - None.
FixedRows/FixedCols need the...
-
Why you magic offset 30?
You can set the .GridColorFixed property to match your .BackColor property.
This way the outline will not visually disturb you. (Ofcourse set .GridLines and .GridLinesFixed...
-
The ListBoxW has only a "MultiColumn" property (True or False) and no "Columns" property such the MS ListBox has.
Tip: Use the "ColumnWidth" property in the ListView. (can be set at run-time only,...
-
The RES will manifest the compiled App. If you want the IDE manifested you need to make a manifest for VB6.exe
-
I confirm the issue and clearing the mouse capture before raising the event fixes both issue you encountered. I am just double checking if this is the "correct" solution before I do an update...
-
We need a Resource Editor replacement. LaVolpe is doing an AddIn. Though I don't know the progress, hopefully not abandoned.
-
Not a bug in the Picture property.
The description says:
"Returns/sets the background picture. Requires comctl32.dll version 6.0 or higher."
So it is a limitation in the SysListView32 that your...
-
removed
Edit: Oops just noticed you have code for VBA 7. (LongPtr)
-
I just tested and noted this now out as well with a vanilla Host UserControl and vanilla Child UserControl and it bombs out with "Out of Memory".
However, this is something I cannot fix in the VBCCR...
-
I just made a vanilla UC host and the ReadProperties is fired before the Resize event.
Something in your code is out of order and will force an resize event before.
Option Explicit
Private Sub...
-
It's a very bad idea to make some code involving the child usercontrol in the host usercontrol inside the UserControl_Initialize() event. The UC Ambient.UserMode property is not meaningful at that...
-
UserControl_Initialize is the worst place ever. Use it only to set variables. Shift your code to UserControl_ReadProperties.
-
When you find a way of changing it without re-creation, please advise. However, I could have gone like the MS RichTextBox and throw out an error when attempting to change at runtime.
-
Changing the ScrollBars to vbVertical triggers internally a re-creation of the rich text box.
So try to put the code before you load the 6MB file for a quick fix.
However, I would like to test...
-
The real code is: (from an IntValue variable, -1 is just the default for the API)
PropTabMinWidth = IntValue
SendMessage TabStripHandle, TCM_SETMINTABWIDTH, 0, ByVal CLng(PropTabMinWidth)
-
True. BUT. How is the 0 Integer get extended to Long 0?
It needs to read 2 bytes off somewhere.
I experienced the problem in comctl32.dll that a "ByVal -1" got interpret as -2321345 (example value)...
-
Be carefull. "ByVal 0" is actually an Integer. If the API expects a Long then 2 bytes are off. It can cause "surprise errors".
To avoid this use "ByVal 0&".
-
The VBCCR.ListBoxW supports more than 32,767 items. It also can scroll beyond 65,535. (16-bit barrier)
...
-
Yes, as soon the edit looses focus (hWndEdit destroyed = 0) the .EditText returns a NullString.
-
Use the .EditText property. :-)
The .Text property is still original text while editing and will be updated once editing was validated.
-
You could add a resource file into the compiled exe. (e.g. ResourceHacker)
-
To avoid the "flash" catch the "EditSetupWindow" event and set the .ComboButtonValue to 'FlexComboButtonValueDisabled'.
This will avoid that the drop-down list will be shown initially. Then at the...
-
Use the .ComboButtonValue property and set to 'FlexComboButtonValueUnpressed' to collapse the drop-down list.
At best you place that line of code in the "EnterEdit" event.
-
Or XML text. Many public authorities, at least in Germany, do persist their records as XML. (e.g. resident registration for interchange between systems)
-
No. SysListView32 does not support it.
-
The fastest approach for VB6 is to compile the sqlite 3 library with __stdcall instead of __cdecl.
-
You may use the Documentation and Update/Compile Utility from MountainMan to upgrade all references in all Forms from VBCCR16 to VBCCR17.
-
Done. :)
The blue marked code was now inserted into the DataSource property.
If PropFixedRows > 0 Then
For iCol = 0 To (PropFixedCols - 1)
VBFlexGridColsInfo(iCol).Key =...
-
MSFlexGrid has no .ColKey/.ColIndex ...
So if VSFlexGrid behave as Test 3 then I will check this out soon and maybe implement your change into the "master" version.
-
When you use .ColIndex and did not assign .ColKey before then you get the error.
Your Test 2 is the correct approach.
Test 3 is also ok. But on each update you need to keep your changes in mind.
-
-
You use an outdated "Startup.bas".
Please download the complete VBFlexGridDemo and replace everything. (FlexInitIDEStopProtection does not exist anymore since a while)
-
Update related to yesterday's bugfix.
Included new flags RCPF_FORCETOPROWMASK and RCPF_FORCELEFTCOLMASK which is used in the internal SetRowColParams method.
Private Sub SetRowColParams(ByRef...
-
This is a bug. I see in the screen that you have the .ScrollBars property set to 'Vertical'.
In the normal MS(H)FlexGrid this will result that the LeftCol will not change upon mouse clicks and key...
-
VBCCR17 is planned to be last major release. People also have a desire for a constant stable release.
If any bugs appear they will be of course fixed.
So feel free to make another fork..
-
IMO any hooks should reside in an App and not in this package.
So you can use the CommandButtonW.ToolTipText property and use this Code to enable Unicode and multi-line. (See bottom post by...
-
The ToolTipText property of the main object itself (VBControlExtender, e.g. CommandButtonW1.ToolTipText etc.) are the intrinsic properties by VB6 and thus ANSI.
Only ToolTipText properties in...
-
If turning VisualStyles to False then you can define the BackColor property on the StatusBar control. No magic in this case.
-
The ItemSelect event is intended. The V6 MS.ListView behaves the same.
However, the V5 MS.ListView behaves different.
You can make the AutoSelectFirstItem property set to False (mimic V5 MS...
|
Click Here to Expand Forum to Full Width
|