摘要:
RAD Studio XE6之Tpanel属性Action指定与该控件关联的操作。Specifies the action associated with the control.Align AlignDisabled指示禁用的子控件重新调整。Indicates child control ... 阅读全文
摘要:
这是一篇老文了,整理下发出来,希望能对大家有些帮助一般我们在程序中操作Excel时,逐单元格填充时,速度非常之慢。其实Excel的Range可以直接绑定数组,速度极快。在下面的VB6示例中,填充一个1000*10的区块,逐单元格方式要20~25秒,而数组方式瞬间内即可完成。Private Sub Command2_Click() Dim a(1000, 10) As Integer Dim i As Integer Dim j As Integer Dim z As Integer Dim oXLSAPP As New Excel.Application D... 阅读全文
摘要:
Option ExplicitDeclare Function SetWindowsHookEx Lib "user32" Alias _"SetWindowsHookExA" (ByVal idHook As Long, ByVal lpfn As Long, _ByVal hmod As Long, ByVal dwThreadId As Long) As LongDeclare Function UnhookWindowsHookEx Lib "user32" _(ByVal hHook As Long) As LongDecl 阅读全文