我似乎无法解决这个EOL错误,任何人都可以告诉我

时间:2018-04-18 15:53:28

标签: python tkinter

CREATE TABLE [dbo].[UserGroup](
    [UserGroupID] [bigint] IDENTITY(1,1) NOT NULL,
    [UserGroupName] [nvarchar](255) NOT NULL,
    [SystemName] [nvarchar](50) NULL,
    [UserPassword] [nvarchar](50) NULL,
    [Salt] [nvarchar](20) NULL,
    [IsGroup] [tinyint] NOT NULL,
    [SuperUser] [bit] NOT NULL,
    [FirstName] [nvarchar](50) NULL,
    [LastName] [nvarchar](100) NULL,
    [Email] [nvarchar](100) NULL,
    [CreateDate] [datetime] NOT NULL,
    [CreateUserID] [bigint] NOT NULL,
    [AuthType] [int] NOT NULL,
    [Active] [bit] NOT NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[UserGroupGroup](
    [UserGroupId] [bigint] NOT NULL,
    [ParentUserGroupId] [bigint] NOT NULL
) ON [PRIMARY] GO

1 个答案:

答案 0 :(得分:1)

您只需将错误的事件绑定到Entry小部件即可。使用此:

http://localhost:1588/Department/Add

e.bind('<Return>', evaluate) 中,当用户点击ENTER键时会启动tkinter事件。而当鼠标进入窗口小部件的几何区域时,会启动<Return>事件。我知道,这有点令人不安......