dcsimg

Search:

Type: Posts; User: Eduardo-

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: CommonControls (Replacement of the MS common controls)

    Why?
  2. Re: Add 2nd form with 2nd UC, then either form, add VB control, UC grays then IDE cra

    I'll repeat the same that I said before: one of the possible causes would be if in the module where is Sub Main, it is used any constant from en Enum declared in any UserControl.
    The other possible...
  3. Re: CommonControls (Replacement of the MS common controls)

    There is a bug in the LabelW control in the DoAutoSize procedure.

    The line:

    .Extender.Move .Extender.Left, .Extender.Top, .ScaleX((CalcRect.Right - CalcRect.Left) + (BorderWidth * 2), vbPixels,...
  4. Thread: LabelPlus

    by Eduardo-
    Replies
    16
    Views
    541

    Re: LabelPlus

    Hello, JFY I tested here at 125% (120 DPI) on Windows 10 v1909 and it looked OK, no problem.
    I tested it in the IDE and it is manifested for common controls and DPI aware.
  5. Re: Digging into COM from Class1 inside a standard VB6 EXE project.

    Dear geniuses of the forum:

    I strongly encourage not to answer these kind of questions without before asking for a full explanation of the project where these techniques will be used.

    If the...
  6. Re: CommonControls (Replacement of the MS common controls)

    It is your component, you do whatever you want.

    But you cannot state it as a general rule, because it can be done and it works without problem.



    Again, it is your opinion, your project, your...
  7. Re: CommonControls (Replacement of the MS common controls)

    What do you mean "without any control"?

    It works very well indeed.

    BTW: I updated the sample
  8. Thread: LabelPlus

    by Eduardo-
    Replies
    16
    Views
    541

    Re: LabelPlus

    Thank you very much Leandro, I think I will use it.
  9. Re: CommonControls (Replacement of the MS common controls)

    Replacing the intrinsic VB functions form the OCX would be possible using ASM code. Sample attached.

    Edit: updated the sample, there were a couple of errors in the one that I posted before.
  10. Replies
    2
    Views
    156

    Re: Moving Mouse From One Control to Another

    Sample attached
  11. Replies
    4
    Views
    138

    Re: Left Justify Button Caption

    Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongW" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
    Private Declare Function SetWindowLong Lib "user32" Alias...
  12. Re: CommonControls (Replacement of the MS common controls)

    Ah, OK, thank you.
  13. Re: CommonControls (Replacement of the MS common controls)

    Hello Krool, I want to ask you what is the purpose of your MsgBox overwrite function:


    ' (VB-Overwrite)
    Public Function MsgBox(ByVal Prompt As String, Optional ByVal Buttons As VbMsgBoxStyle =...
  14. Re: Running speed test-len/lenb/lstrlenW/CopyMemory/GetMem4

    I just wonder whether it is programmed in VB6 or in some other language... :sick: :bigyello:
  15. Re: Abount ComboBox droplist problem

    Exactly, use another control.
    That's the reason why there are several control types, each one has different features and behavior.
    You probably need a button combined with a listbox (to show/hide...
  16. Replies
    10
    Views
    308

    Re: Add an element to an arbitrary array

    Yes, after I posted I realized that the Get makes a copy. Thank you.
  17. Replies
    10
    Views
    308

    Re: Add an element to an arbitrary array

    Ahh, OK.

    Then the variables in object modules are shorcuts to:


    Private mVariable As Variant

    Public Property Let Variable(nValue As Variant)
    mVariable = nValue
    End Property
  18. Replies
    10
    Views
    308

    Re: Add an element to an arbitrary array

    What dreammanor did is what I'm doing from some years ago. It boosted my productivity significantly.
    I wonder why something like that was not buit in into VB already. (I'm talking about the...
  19. Replies
    2
    Views
    232

    Re: SizeGrip with customizable BackColor

    To make more clear to the user that the window is resizable and to provide a bigger area at the bottom right corner for doing it.

    For more information please refer to Microsoft documentation.
    ...
  20. Replies
    16
    Views
    443

    Re: Aliasing in VB6

    Another option I think it could be to put the arrays into a class object (it must be the same class type for all the arrays that need to be "aliased") and then to set the proper reference to that...
  21. Re: CommonControls (Replacement of the MS common controls)

    If you need only the SizeGrip and not the whole StatusBar, you can use this control.
  22. Replies
    2
    Views
    232

    SizeGrip with customizable BackColor

    This is a control that places a size grip on the form and has its BackColor customizable.

    174449


    174473


    174477
  23. Re: CommonControls (Replacement of the MS common controls)

    First set VisualStyles to False and then set the BackColor.
  24. Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Hello, the explanation is in post # 2472 of the CCR thread.
  25. Re: CommonControls (Replacement of the MS common controls)

    Great!, thank you very much Krool :thumb:



    MS Sans Serif is not on the list of the FontCombo control, but it is on the font list of other programs such as Notepad.

    I'll try to investigate...
  26. Re: CommonControls (Replacement of the MS common controls)

    Is there anything dangerous/wrong with the VTable subclass approach?
    (I ask because now I'm sticking to the older version that use that technique)



    Thank you for the tip, in case I decide to...
  27. Re: CommonControls (Replacement of the MS common controls)

    Sorry Krool if you got offended. It wasn't my intention.
    Sometimes we as programmers expect that everybody will update to the latest version, but for the users sometimes it is not so easy due to...
  28. Replies
    15
    Views
    476

    Re: [RESOLVED] Text File to listbox

    Mi idea would be that if you are very sure that you won't need the original any more, ever, then save the text already modified.
    Otherwise, keep the original and modify it before displaying.
    ...
  29. Replies
    15
    Views
    476

    Re: [RESOLVED] Text File to listbox

    By keeping the vbCrLf on the verse text you are not splitting it into several records of the BD.
    I guess you are using memo field to save the verse information, they can store line feed just fine.
    ...
  30. Re: form_Activate firing when form is not active / implementing an auto log out box

    Another security measure could be to check Forms.Count.
    I suppose that when the main form is active, it has to be the only form loaded.


    If (Screen.ActiveForm is Me) And (Forms.Count = 1) Then
  31. Re: [RESOLVED] More Menu Shortcuts in Native VB6 Form Menus

    But why not to simply code: mnuMenuName.Caption = "Some caption" & vbTab & "Some shortcut"?
  32. Replies
    15
    Views
    476

    Re: [RESOLVED] Text File to listbox

    Or adjust the row height of each row to be able to display all the text lines.
    In that way you can keep the new lines information.
  33. Re: form_Activate firing when form is not active / implementing an auto log out box

    As I understood it, it works like this:

    when the main form gets the focus (activated), the user have one minute to open a secondary form, if within that minute she does nothing, then the programs...
  34. Re: form_Activate firing when form is not active / implementing an auto log out box

    Hello, I don't know if you already resolved this, but I suggest a protection: before logging out, check whether the main form is the one active:


    Private Sub tmrLogout_Timer()
    ...
  35. Re: CommonControls (Replacement of the MS common controls)

    Sorry, but I think you got me wrong, I was answering to the question:



    not complaining.

    I was trying to help when I reported what I thought it could be an error.
  36. Re: CommonControls (Replacement of the MS common controls)

    OK.



    I didn't update anything.

    I just wanted to see something and for it I downloaded and opened your latest version of Common Controls project, and then I saw the error and wanted to report...
  37. Re: CommonControls (Replacement of the MS common controls)

    I think I understand that you added the RightToLeft property to all controls that need to have a RightToLeftLayout property even if they are not displaying any text, just to standardize the controls...
  38. Replies
    12
    Views
    417

    Re: GetVolumeInformation

    deleted
  39. Re: CommonControls (Replacement of the MS common controls)

    Hello Krool, I'm using some of your controls in a project so thank you very much.
    I want to ask you what's the purpose of having two properties in the ScrollBar control: RightToLeft and...
  40. Thread: Rename Folder

    by Eduardo-
    Replies
    9
    Views
    397

    Re: Rename Folder

    Is the folder in a place where the normal user has restricted access (for example under Program files/...)?
    If that is the case, I would consider to write/modify files/folders somewhere else.

    If...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width