Skip to content

Commit 3b3f5cd

Browse files
committed
v1.8
1. Generate oop code only. 2. Add an interpretation of property (MultiSelect -> selectmode) of ListBox.
1 parent 966c82f commit 3b3f5cd

30 files changed

+501
-1121
lines changed

MainForm.frm

Lines changed: 137 additions & 229 deletions
Large diffs are not rendered by default.

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ Readme of english version refers to [Readme_EN.md](https://github.com/cdhigh/tki
211211

212212

213213
# 版本历史
214+
* v1.8
215+
1. 删除结构化代码生成逻辑,仅生成面向对象代码
216+
2. ListBox添加 (MultiSelect -> selectmode) 属性对应转换
214217
* v1.7.2
215218
1. bugfix: 面向过程代码无法预览
216219
* v1.7.1

Readme_EN.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ The standard built-in ttk themes extension provides native style on different op
183183

184184

185185
# Changelog
186+
* v1.8
187+
1. Generate oop code only.
188+
2. Add an interpretation of property (MultiSelect -> selectmode) of ListBox.
186189
* v1.7.2
187190
1. bugfix: Cannot preview structured code.
188191
* v1.7.1

Vb6Tkinter.lng

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ mnuGenCode=
1111
mnuAddProperty=����һ���Զ�������(&P)
1212
mnuQuit=�˳�(&Q)
1313
mnuOptions=ѡ��(&O)
14-
mnuOopCode=��������������(&P)
1514
mnuV2andV3Code=����Python 2.x/3.x���ݴ���(&C)
1615
mnuUseTtk=����TTK�����(&T)
1716
mnuRelPos=ʹ���������(&R)
@@ -25,11 +24,9 @@ mnuAbout=
2524
mnuLanguage=Language(&L)
2625
mnuSaveToFile=������뵽�ļ�(&F)
2726
mnuSaveAll=����ȫ������(&A)
28-
mnuSaveMainOnly=������main()����(&M)
2927
mnuSaveUiOnly=���������������(&G)
3028
mnuCopyToClipboard=�������뵽������(&C)
3129
mnuCopyToClipAll=����ȫ������(&A)
32-
mnuCopyToClipMainOnly=������main()����(&M)
3330
mnuCopyToClipUiOnly=����������������(&G)
3431
frmOption=����
3532
lblPythonExe=Python���ļ�
@@ -67,7 +64,6 @@ l_msgCtlNotSupport=
6764
l_msgGetAttrOfFrmFailed=��ȡ��������ʧ�ܣ���ӦVB�����Ѿ��رգ�\n������ˢ�´����б������´򿪹������ԡ�\n��������ˢ�´����б���
6865
l_msgFrameNotSupportInAbs=�������겼�ֲ�֧��Frame�ؼ����������������ȥ��Frame�ؼ���
6966
l_msgCtlsSupported=֧�ֿؼ��б���
70-
l_msgNoMain=�������Ҳ���main()������
7167
l_msgNoClsUi=�������Ҳ���Application_ui�࣡
7268
l_msgFetchVerInfoFail=���������ذ汾��Ϣ����
7369
l_msgParseVerInfoFail=�����汾��Ϣ����
@@ -223,7 +219,6 @@ mnuGenCode=Generate Code(&G)
223219
mnuAddProperty=Add One Property(&P)
224220
mnuQuit=Quit(&Q)
225221
mnuOptions=Options(&O)
226-
mnuOopCode=Generate OOP Code(&P)
227222
mnuV2andV3Code=Compatible Code for Python 2.x/3.x(&C)
228223
mnuUseTtk=Use TTK Themed Library(&T)
229224
mnuRelPos=Use Relative Position(&R)
@@ -237,11 +232,9 @@ mnuAbout=About(&A)
237232
mnuLanguage=Languages(&L)
238233
mnuSaveToFile=Save Code to File(&F)
239234
mnuSaveAll=Save All Code(&A)
240-
mnuSaveMainOnly=Save main() Only(&M)
241235
mnuSaveUiOnly=Save Class UI Only(&G)
242236
mnuCopyToClipboard=Copy Code To Clipboard(&C)
243237
mnuCopyToClipAll=Copy All Code(&A)
244-
mnuCopyToClipMainOnly=Copy main() Only(&M)
245238
mnuCopyToClipUiOnly=Copy Class UI Only(&G)
246239
frmOption=Config
247240
lblPythonExe=Python EXE
@@ -279,7 +272,6 @@ l_msgCtlNotSupport=The addin not support '{0}' control (Name:{1}).\n\nIt will no
279272
l_msgGetAttrOfFrmFailed=Failed in getting property of the form, please reopen the vb project and retry.\nRefresh list of forms now?
280273
l_msgFrameNotSupportInAbs=The control 'Frame' is not support when menu 'Use Relative Position' unchecked.
281274
l_msgCtlsSupported=Controls supported:
282-
l_msgNoMain=Function 'main()' no founded in code!
283275
l_msgNoClsUi=Class 'Application_ui' no founded in code!
284276
l_msgFetchVerInfoFail=Error fetching version update information.
285277
l_msgParseVerInfoFail=Unable to parse the version information.

Vb6Tkinter.vbp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Module=http; http.bas
4747
Module=modJson; modJson.bas
4848
Form=frmNewVer.frm
4949
Form=frmAbout.frm
50-
ResFile32="XP.RES"
5150
Module=utf8file; utf8file.bas
51+
ResFile32="XP.RES"
5252
IconForm="FrmMain"
5353
Startup="(None)"
5454
HelpFile=""
@@ -63,8 +63,8 @@ CompatibleMode="2"
6363
CompatibleEXE32="Release\Vb6Tkinter.dll"
6464
VersionCompatible32="1"
6565
MajorVer=1
66-
MinorVer=7
67-
RevisionVer=2
66+
MinorVer=8
67+
RevisionVer=0
6868
AutoIncrementVer=0
6969
ServerSupportFiles=0
7070
DllBaseAddress=&H1f390000

Vb6Tkinter.vbw

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
GridOcx = 125, 125, 851, 574, C, 175, 175, 1048, 606, C
22
Common = 125, 125, 998, 556,
33
FileDlg = 150, 150, 981, 581, C
4-
clsBaseControl = 100, 100, 931, 531, C
5-
clsButton = 75, 75, 906, 506, C
6-
clsCanvas = 0, 0, 0, 0, C
7-
clsCheckbutton = 0, 0, 0, 0, C
8-
clsEntry = 75, 75, 954, 481, C
9-
clsLabel = 0, 0, 0, 0, C
10-
clsLabelFrame = 0, 0, 0, 0, C
11-
clsListbox = 0, 0, 0, 0, C
12-
clsOptionMenu = 25, 25, 904, 431, C
13-
clsRadiobutton = 0, 0, 0, 0, C
14-
clsScale = 0, 0, 0, 0, C
15-
clsScrollbar = 0, 0, 0, 0, C
16-
clsSerialization = 0, 0, 0, 0, C
17-
clsText = 0, 0, 879, 406, C
4+
clsBaseControl = 100, 100, 931, 531,
5+
clsButton = 75, 75, 906, 506,
6+
clsCanvas = 25, 25, 869, 474,
7+
clsCheckbutton = 50, 50, 894, 499,
8+
clsEntry = 75, 75, 954, 481,
9+
clsLabel = 175, 175, 1019, 624,
10+
clsLabelFrame = 200, 200, 1044, 649,
11+
clsListbox = 150, 150, 994, 599,
12+
clsOptionMenu = 25, 25, 904, 431,
13+
clsRadiobutton = 150, 150, 994, 599,
14+
clsScale = 175, 175, 1019, 624,
15+
clsScrollbar = 200, 200, 1044, 649,
16+
clsSerialization = 25, 25, 869, 474,
17+
clsText = 0, 0, 879, 406,
1818
cStrBuilder = 0, 0, 0, 0, C
1919
Dictionary = 0, 0, 0, 0, C
20-
FrmMain = 25, 25, 898, 456, Z, 50, 50, 923, 481, C
21-
clsMenu = 0, 0, 0, 0, C
22-
clsMenuItem = 0, 0, 0, 0, C
23-
clsProgressBar = 0, 0, 0, 0, C
24-
clsCombobox = 175, 175, 1054, 581, C
25-
clsComboboxAdapter = 25, 25, 799, 474, C
26-
clsTreeview = 200, 200, 1079, 606, C
27-
clsNotebook = 50, 50, 929, 456, C
20+
FrmMain = 25, 25, 898, 456, , 50, 50, 923, 481, C
21+
clsMenu = 0, 0, 844, 449, Z
22+
clsMenuItem = 25, 25, 869, 474,
23+
clsProgressBar = 125, 125, 969, 574,
24+
clsCombobox = 175, 175, 1054, 581,
25+
clsComboboxAdapter = 25, 25, 799, 474,
26+
clsTreeview = 200, 200, 1079, 606,
27+
clsNotebook = 50, 50, 929, 456,
2828
MultiLanguage = 175, 175, 1054, 608, C
2929
Base64 = 100, 100, 874, 549, C
30-
clsForm = 125, 125, 956, 556, C
31-
clsStatusbar = 75, 75, 801, 497, C
30+
clsForm = 125, 125, 956, 556,
31+
clsStatusbar = 75, 75, 801, 497,
3232
Resizer = 100, 100, 826, 549, C
3333
frmOption = 0, 0, 0, 0, C, 200, 200, 1073, 631, C
3434
xpcmdbutton = 0, 0, 0, 0, C, 0, 0, 873, 431, C
35-
clsNotebookTab = 0, 0, 0, 0, C
36-
clsSeparator = 0, 0, 0, 0, C
35+
clsNotebookTab = 75, 75, 919, 524,
36+
clsSeparator = 0, 0, 844, 449,
3737
Connect = 25, 25, 904, 458, C
3838
frmEncodeAFile = 100, 100, 973, 531, C, 25, 25, 898, 456, C
3939
http = 125, 125, 1004, 558, C

0 commit comments

Comments
 (0)