在Form.OnKeyPress事件中写如下代码: if Key = #13 then if ActiveControl = DBGrid1 then begin TDBGrid(ActiveControl).SelectedIndex := TDBGrid(ActiveControl).Selec ...
分类:
移动开发 时间:
2020-05-16 17:19:05
阅读次数:
85
本章节我们将讲解 Bootstrap 的网格系统(Grid System)。 Bootstrap 提供了一套响应式、移动设备优先的流式网格系统,随着屏幕或视口(viewport)尺寸的增加,系统会自动分为最多12列。 本章节我们将讲解 Bootstrap 的网格系统(Grid System)。 Bo ...
分类:
其他好文 时间:
2020-05-16 10:44:39
阅读次数:
61
function setGritCellValue(cell) { if (cell instanceof jQuery) { if (cell.length > 0) { var TextValue = cell[0].innerText + '%'; $(cell).find(".f-grid- ...
分类:
其他好文 时间:
2020-05-15 09:46:27
阅读次数:
70
实现自动化登录微云账号。 问题分析 firefox_driver = webdriver.Firefox() firefox_driver.get("https://www.weiyun.com/") firefox_driver.implicitly_wait(10) # 登录账号 firefox ...
分类:
其他好文 时间:
2020-05-14 13:16:53
阅读次数:
230
在用selenium做自动化时,经常想要在多个窗口之间切换,首先要知道每一个窗口的唯一标识符(也就是“句柄”),然后通过句柄来进行不同窗口之间的切换。 打开一个新窗口 1 from selenium import webdriver 2 from time import sleep 3 4 driv ...
分类:
其他好文 时间:
2020-05-14 10:40:46
阅读次数:
80
环境 python3.7 selenium webdriver PIL Image 2.下面demo是截取“去哪儿”官网的验证码 1 # -*- coding=utf-8 -*- 2 # CodeDemo.py 3 # PyCharm Slade 2019/7/20 4 # import selen ...
分类:
编程语言 时间:
2020-05-13 17:01:06
阅读次数:
96
聚合推送7 iOS 14 多任务界面曝光 2 月 24 日,91mobiles 曝光了若干张 iOS 14 中的多任务界面截图。截图中,iPhone 上多任务界面采用了类似 iPad 的设计样式,应用被分为上下两行进行排列,屏幕中共显示了 6 张任务卡片。 图 / 91mobiles 知名爆料人 B ...
分类:
其他好文 时间:
2020-05-13 14:09:49
阅读次数:
77
思路: 深度遍历 1.第一层main函数里 两层循环找 grid[x][y] == '1' 的点 res += 1 2.递归函数里,把与该点四个方向相邻的,值为‘1’的点全部标0 标0方法: 对坐标(x,y)四个方向中 值 == ‘1’ 的赋0 再递归。 注意: 1. 对于二维数组,判空要用 if ...
分类:
其他好文 时间:
2020-05-13 13:59:47
阅读次数:
47
最近想好好写写博客,就继续以前关于web自动化的写,希望能写成一个系列 今天的这个例子,就是一个简单的百度搜索,并验证搜索后网页Title的用例(使用chrome示例) webdriver在驱动浏览器时,需要下载对应的驱动,注意需要和自己所使用的浏览器版本相匹配 Chrome下载 chromedri ...
分类:
其他好文 时间:
2020-05-13 13:53:11
阅读次数:
83
package LeetCode_64 /** * 64. Minimum Path Sum * https://leetcode.com/problems/minimum-path-sum/description/ * * Given a m x n grid filled with non-ne ...
分类:
其他好文 时间:
2020-05-13 00:38:52
阅读次数:
62